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

chore: add movestate and deprecation notice #888

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

azrod
Copy link
Member

@azrod azrod commented Dec 16, 2024

Description of your changes

If you submit change in the provider code, please make sure to:

  • Write or modify examples in examples/ directory
  • Write or modify acceptance tests
  • Run make generate to ensure the doc was updated properly

How has this code been tested

resource "cloudavenue_vdc_network_isolated" "example" {
  vdc         = cloudavenue_vdc.example2.name
  name        = "rsx-example-isolated-network"
  description = "My isolated Org VDC network"

  gateway       = "192.168.168.254"
  prefix_length = 24

  dns1       = "8.8.8.8"
  dns2       = "8.8.4.4"
  dns_suffix = "example.com"
}

moved {
  from = cloudavenue_network_isolated.example
  to   = cloudavenue_vdc_network_isolated.example
}
cloudavenue_vdc.example2: Refreshing state... [id=urn:vcloud:vdc:xxx]
cloudavenue_vdc_network_isolated.example: Refreshing state... [id=urn:vcloud:network:xxx]
data.cloudavenue_edgegateway.example: Read complete after 4s [id=urn:vcloud:gateway:xxx]

Terraform will perform the following actions:

  # cloudavenue_network_isolated.example has moved to cloudavenue_vdc_network_isolated.example
    resource "cloudavenue_vdc_network_isolated" "example" {
        id                 = "urn:vcloud:network:xxx"
        name               = "rsx-example-isolated-network"
        # (9 unchanged attributes hidden)
    }

Plan: 0 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes


Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

@azrod azrod requested a review from a team as a code owner December 16, 2024 09:43
@azrod azrod force-pushed the move-state-vdc-net-iso branch from 64bd552 to 614391f Compare December 16, 2024 09:44
@azrod azrod changed the title feat: add vdc network isolated ress/data (#882) chore: add movestate and deprecation notice Dec 16, 2024
@azrod azrod merged commit 0daf635 into network-isolated Dec 16, 2024
7 checks passed
@azrod azrod deleted the move-state-vdc-net-iso branch December 16, 2024 10:43
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.

2 participants