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

eTag mismatch when updating google_access_context_manager_service_perimeter #20695

Closed
anilkumarmyla opened this issue Dec 14, 2024 · 1 comment

Comments

@anilkumarmyla
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Terraform Version & Provider Version(s)

Terraform v1.6.3
on

  • provider registry.terraform.io/hashicorp/google v6.13.0
  • provider registry.terraform.io/hashicorp/google-beta v6.13.0

Affected Resource(s)

google_access_context_manager_service_perimeter

Terraform Configuration

Debug Output

No response

Expected Behavior

No errors

Actual Behavior

Whenever there is a change in the service perimeter, the deployment first fails with
Error: Error updating ServicePerimeter "xxxx": googleapi: Error 400: The eTag provided 'f1611619354d94bb' does not match the eTag of the current version of the Access Policy, which is '48141e5ffd219c96'. The operation will not be performed.

However on the next retry, the deployment succeeds without any error

Steps to reproduce

  1. terraform apply

Important Factoids

No response

References

Seems like eTag support was recently added to ACM in 6.13.0 which might be directly related
#20455

@github-actions github-actions bot added forward/review In review; remove label to forward service/accesscontextmanager labels Dec 14, 2024
@shuyama1
Copy link
Collaborator

shuyama1 commented Dec 18, 2024

Sorry, we're aware that this may cause issues, so the feature has been reverted in #20691 which should be included in the next release is already released in v6.14.0. Upgrading to v6.14.1+ should resolve this issue.

@shuyama1 shuyama1 removed the forward/review In review; remove label to forward label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants