-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add support for terraform_remote_state
#480
Comments
Interesting. But maybe you can test this, I know its not the same but maybe it works: a. issue a full access token. The same token a user would use to access the OTF API. b. Use the token like this:
Just as a worksround while you solve this problem. |
It would be nice if OTF supported it out of the box. We're currently looking if OTF can be used within our organization - we use state sharing quite a lot and this is a blocker |
A user cannot use
terraform_remote_state
to reference the state of OTF workspaces.Currently, OTF issues the
terraform
process with a "run token", which only has permissions to access the OTF module registry, for the retrieval of child modules during aterraform init
. it does not have permissions to access any other endpoints on OTF, including the state endpoints which would allowterraform_remote_state
to succeed.TFC by default does not share state with other workspaces but does provide the option to open up access workspace by workspace, or to the entire organization:
This is perhaps something that could be adopted by OTF.
The text was updated successfully, but these errors were encountered: