-
Notifications
You must be signed in to change notification settings - Fork 676
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
vpc spoke dns resolver type can not be set to delegated after a ibm_is_vpc_dns_resolution_binding #5262
Comments
Closing based on @astha-jain comments. |
@powellquiring Please confirm if the issue can be closed ? |
@powellquiring @sumitkumartiwari In my plan it doesn't detect the creation of the dns binding. ` resource "ibm_is_vpc" "vpc" { } ` in the plan I get this ` # module.vpc["toolchain"].ibm_is_vpc.vpc will be updated in-place
|
looking at it |
#5937 as per this fix, we are fixing the issue where the binding is not getting created in update operations |
Community Note
Description
There isn’t currently a way in terraform to create a delegated system consisting of a hub and spoke VPC in 1 pass that includes an IAM authorization that specifies by the hub and spoke:
Here is the iam authorization policy, notice it has the hub and spoke ids to narrowed as much as possible.
The last step of setting the spoke to delegated currently requires that one goes back to the spoke vpc and make an editing change.
A solution would be to add the type to the binding resource as shown below:
As a work around it is possible to patch the spoke VPC DNS using curl. But this is problematic since the bearer token is persisted in the terraform state file and could (will likely) expire before the destroy operation is executed.
New or Affected Resource(s)
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: