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

r/nat_gateway_public_ip_association: using a custom ID / support for delta updates in azurerm_nat_gateway #7106

Merged
merged 8 commits into from May 28, 2020

Conversation

tombuildsstuff
Copy link
Member

This PR fixes some issues spotted in #6450 - namely:

  • Using a custom Resource ID for the azurerm_nat_gateway_public_ip_association resource - which includes the Public IP Address ID so that we can determine which Public IP Address is being referenced
  • Supporting delta updates in the azurerm_nat_gateway resource

This commit introduces a custom ID for the
`azurerm_nat_gateway_public_ip_address_association` resource.

This allows us to determine /which/ Public IP Address is currently assigned
to the NAT Gateway since there can be multiple.
@tombuildsstuff
Copy link
Member Author

Tests pass:

Screenshot 2020-05-27 at 13 16 59

Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@katbyte katbyte merged commit 103d0df into master May 28, 2020
@katbyte katbyte deleted the b/nat-gateway-public-ip branch May 28, 2020 05:12
@ghost
Copy link

ghost commented May 28, 2020

This has been released in version 2.12.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.12.0"
}
# ... other configuration ...

pbrit pushed a commit to pbrit/terraform-provider-azurerm that referenced this pull request May 31, 2020
…delta updates in `azurerm_nat_gateway` (hashicorp#7106)

This PR fixes some issues spotted in hashicorp#6450 - namely:

Using a custom Resource ID for the azurerm_nat_gateway_public_ip_association resource - which includes the Public IP Address ID so that we can determine which Public IP Address is being referenced
Supporting delta updates in the azurerm_nat_gateway resource
@ghost
Copy link

ghost commented Jun 27, 2020

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

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@hashicorp hashicorp locked and limited conversation to collaborators Jun 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants