-
Notifications
You must be signed in to change notification settings - Fork 63
"Invalid attribute in provider configuration" with dynamic provider configuration #174
Comments
@lawliet89 The error message tries to be helpful there. It says: See below the configuration that works in my tests. The only difference I can spot is putting "https://' in front of the value of the endpoint value. In GKE, the endpoint seems to just be an IP address.
Let me know if that works in your case. |
@alexsomesan I would consider this a bug, which is why I opened #141. The official kubernetes and helm providers do not have this problem where the |
@davidalger Indeed, the other providers will optimistically try to deduce the URL when parts are omitted. To be fair, that behaviour is undocumented and the official documentation of all three providers does specify this attribute should be a URL. We'll make changes to align to that behaviour, for consistency. |
@alexsomesan Adding |
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! |
Terraform, Provider, Kubernetes versions
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Steps to Reproduce
terraform plan
Expected Behavior
What should have happened?
A plan to be displayed.
Actual Behavior
What actually happened?
Important Factoids
This is a variation of #147 that now appears with >= 0.3.1.
References
Community Note
The text was updated successfully, but these errors were encountered: