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

Use self link in service networking connection #61

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

aaron-lane
Copy link
Contributor

This commit adds a network data source to the private_service_access
submodule and uses that data source to obtain the required network
attributes.

This change fixes the following issue:

Error: Provider produced inconsistent final plan

When expanding the plan for
module.private-service-access.google_service_networking_connection.private_service_access
to include new values learned so far during apply, provider "google-beta"
produced an invalid new value for .network: was
cty.StringVal("test-vpc-private-access"), but now
cty.StringVal("https://www.googleapis.com/compute/v1/projects/test-project/global/networks/test-vpc-private-access").

This is a bug in the provider, which should be reported in the provider's own
issue tracker.

Related to hashicorp/terraform-provider-google#4501.

This commit adds a network data source to the private_service_access
submodule and uses that data source to obtain the required network
attributes.

This change fixes the following issue:

> Error: Provider produced inconsistent final plan
>
> When expanding the plan for
> module.private-service-access.google_service_networking_connection.private_service_access
> to include new values learned so far during apply, provider "google-beta"
> produced an invalid new value for .network: was
> cty.StringVal("test-vpc-private-access"), but now
> cty.StringVal("https://www.googleapis.com/compute/v1/projects/test-project/global/networks/test-vpc-private-access").
>
> This is a bug in the provider, which should be reported in the provider's own
> issue tracker.
@aaron-lane aaron-lane added the bug Something isn't working label Sep 25, 2019
@aaron-lane aaron-lane merged commit 473212e into master Sep 25, 2019
@aaron-lane aaron-lane deleted the aaron-lane-private-service-access-network branch September 25, 2019 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants