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

Added check to store vxlan_subnet information in terraform state file only when skip_creating_vxlan = false #86

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

saloneerege
Copy link
Contributor

@saloneerege saloneerege commented Dec 15, 2020

The GET / POST SDDC API populates the vxlan_subnet with the default value when skip_creating_vxlan = true without actually creating a network segment. Since this field is not provided in the configuration file while provisioning the SDDC, when a user does terraform apply the vxlan_subnet field (with ForceNew : true in schema) forces the SDDC resource to be destroyed and new one to be created. As a workaround for now, we are storing the vxlan_subnet only when skip_creating_vxlan = false since that is when the network segment is created.

@saloneerege
Copy link
Contributor Author

The vxlan_subnet value is stored in the state file only when skip_creating_vxlan = false. Otherwise this field is not stored in the state file

@saloneerege saloneerege merged commit 54192e4 into master Dec 16, 2020
@dimitarproynov dimitarproynov deleted the fixes/IAC-340-vxlan-subnet branch May 4, 2023 10:53
Copy link

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

key:value vxlan_subnet is being populated when skip_creating_vxlan = true
3 participants