Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ephemeral deployment #218

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

WhimsyWolfe
Copy link
Contributor

Added option to deploy maas_instances as an ephemeral deployment. This PR relies on the gomaasclient PR #87

@troyanov
Copy link
Member

Hi @WhimsyWolfe

Thank you for your contribution!
Before we can merge this PR, you need to sign the CLA.
Signing the CLA is mandatory for contributing to Canonical's open source projects. Please see the details here.

@skatsaounis
Copy link
Collaborator

Hi @WhimsyWolfe and thank you for your contribution. As you correctly mentioned in your description, this PR will have to wait for the next gomaasclient minor version, with your contribution being included. Please give us some time until we are there. Thank you for signing the CLA as well.

@skatsaounis
Copy link
Collaborator

Hi @WhimsyWolfe, new version of gomaasclient released today and it is already used by terraform-provider-maas. Could you please rebase your PR on latest master so that we can proceed with the review? 🙂

@skatsaounis
Copy link
Collaborator

skatsaounis commented Aug 23, 2024

Let's also make the CI happy by running a make generate_docs.

…/bin/tfplugindocs generate --provider-name terraform-provider-maas

rendering website for provider "terraform-provider-maas" (as "terraform-provider-maas")
copying any existing content to tmp dir
exporting schema from Terraform
compiling provider "maas"
using Terraform CLI binary from PATH if available, otherwise downloading latest Terraform CLI binary
running terraform init
getting provider schema
generating missing templates
generating missing resource content
generating new template for "maas_network_interface_link"
generating new template for "maas_network_interface_physical"
generating new template for "maas_tag"
generating new template for "maas_user"
generating new template for "maas_dns_record"
generating new template for "maas_fabric"
generating new template for "maas_network_interface_bridge"
generating new template for "maas_instance"
generating new template for "maas_network_interface_bond"
generating new template for "maas_vlan"
generating new template for "maas_network_interface_vlan"
generating new template for "maas_vm_host"
generating new template for "maas_block_device"
generating new template for "maas_device"
generating new template for "maas_dns_domain"
generating new template for "maas_subnet"
generating new template for "maas_subnet_ip_range"
generating new template for "maas_vm_host_machine"
generating new template for "maas_machine"
generating new template for "maas_resource_pool"
generating new template for "maas_space"
generating missing data source content
generating new template for data-source "maas_network_interface_physical"
generating new template for data-source "maas_resource_pool"
generating new template for data-source "maas_subnet"
generating new template for data-source "maas_vlan"
generating new template for data-source "maas_device"
generating new template for data-source "maas_fabric"
generating new template for data-source "maas_machine"
generating missing function content
generating missing provider content
provider "terraform-provider-maas" template exists, skipping
rendering static website
cleaning rendered website dir
removing directory: "data-sources"
removing file: "index.md"
removing directory: "resources"
rendering templated website to static markdown
rendering "data-sources/device.md.tmpl"
rendering "data-sources/fabric.md.tmpl"
rendering "data-sources/machine.md.tmpl"
rendering "data-sources/network_interface_physical.md.tmpl"
rendering "data-sources/resource_pool.md.tmpl"
rendering "data-sources/subnet.md.tmpl"
rendering "data-sources/vlan.md.tmpl"
rendering "index.md.tmpl"
rendering "resources/block_device.md.tmpl"
rendering "resources/device.md.tmpl"
rendering "resources/dns_domain.md.tmpl"
rendering "resources/dns_record.md.tmpl"
rendering "resources/fabric.md.tmpl"
rendering "resources/instance.md.tmpl"
rendering "resources/machine.md.tmpl"
rendering "resources/network_interface_bond.md.tmpl"
rendering "resources/network_interface_bridge.md.tmpl"
rendering "resources/network_interface_link.md.tmpl"
rendering "resources/network_interface_physical.md.tmpl"
rendering "resources/network_interface_vlan.md.tmpl"
rendering "resources/resource_pool.md.tmpl"
rendering "resources/space.md.tmpl"
rendering "resources/subnet.md.tmpl"
rendering "resources/subnet_ip_range.md.tmpl"
rendering "resources/tag.md.tmpl"
rendering "resources/user.md.tmpl"
rendering "resources/vlan.md.tmpl"
rendering "resources/vm_host.md.tmpl"
rendering "resources/vm_host_machine.md.tmpl"
@WhimsyWolfe
Copy link
Contributor Author

I didn't see that in the make file. I'll keep that in mind next time.

Copy link
Collaborator

@skatsaounis skatsaounis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM +1 Thank you @WhimsyWolfe for the contribution and the patience!

@skatsaounis skatsaounis changed the title Ephemeral deployment feat: ephemeral deployment Aug 26, 2024
@skatsaounis skatsaounis merged commit d2400e1 into canonical:master Aug 26, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants