-
Notifications
You must be signed in to change notification settings - Fork 681
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
Authorization error when trying to attach PER enabled PowerVS Workspace to a Transit Gateway #4826
Comments
@yussufsh calling this to your attention. If you could please take a look would appreciate it. |
@christopher-horn how are you initializing the ibm provider? If I can understand the issue correctly you may need to initialize 2 providers for powervs+network service. |
I am only using the 1 IBM cloud provider. Why would this be different from the direct link attach which works fine? |
Oh maybe I see. |
No I don't. I am using the same provider in the same Terraform to attach the direct link if the site uses that instead and that has been working fine. So why should one work and the other not? Is that working because of some kind of unidentified bug that skips checking the authorization? |
Found my issue, user error. Using incorrect CRN. Sigh. Closing this out now, my apologies. |
@christopher-horn I was looking at you logs — I am glad you found it.
|
Community Note
Terraform CLI and Terraform IBM Provider Version
Terraform v1.5.7
on linux_amd64
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
I think the variables.tf, provider.tf, versions.tf and terraform.tfvars that go with the above are obvious enough and will not replicate here.
Debug Output
https://gist.github.com/christopher-horn/fb266132b4b43ca14c656e6bd4b8a080
Panic Output
Expected Behavior
Connection is created.
Actual Behavior
The deployment fails with the Transit Gateway service claiming that it is not authorized.
However if I issue the command using the ibmcloud cli it works perfectly fine so it does not appear to be an IAM but a provider issue.
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: