-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Google-Beta Provider Configuration Not Recognized in Airgapped Environments Using TF 0.13+ #8182
Comments
@jornjohnson it appears to me this is an area of Terraform as it is a TF's feature? Did it work with different versions of the Google providers? You may file an issue in Terraform instead. |
This is specific to only the google-beta provider, so I don't believe this is a terraform issue. The observed behavior does not extend to any other provider that I tested. The list includes;
Due to our airgapped nature and reliance on bundled versions I was only able to test versions 3.52, 3.51, 3.42, and 3.38. |
@jornjohnson there is nothing in the provider plugin that handles Airgapped Environments. I would suggest file an issue to Terraform to get help from them. Closing this accordingly. |
I would suggest asking for support from Hashicorp because support for airgapped environments appears to be a feature of Terraform Enterprise. |
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! |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
TF 0.13.5
TFE (Terraform Enterprise) 202012-2
google-beta 3.52.0
Affected Resource(s)
All resources defined by google_beta provider.
Terraform Configuration Files
Debug Output
Debug Output - https://gist.github.com/jornjohnson/c8a533f99625ca9fa523cc2e92297ba3
Panic Output
Expected Behavior
Expected the google-beta provider configuration referenced in the
terraform
block to initialize the provider configurations for destroy actions on the last remaining google-beta defined resources.Actual Behavior
Google-beta provider configuration doesn't appear to initialize, forcing terraform to resolve the provider against the public registry
registry.terraform.io
. In an airgapped environment with no internet access, this attempt at resolution times out.Steps to Reproduce
terraform init
against airgapped Terraform Enterprise backend using bundled TF 0.13.5 with google-beta, google, and null providers.terraform plan
which should error out.Important Factoids
The configured environment is airgapped with a compiled TF and providers bundle uploaded to a self hosted TFE service. We've figured out a workaround by defining a dummy data resource in the config to initialize the provider. Then to finally clean up the config I can perform a
terraform state rm
call against the dummy data resource.References
The text was updated successfully, but these errors were encountered: