Skip to content
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 identity provider for terraform cloud #184

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Conversation

danlamanna
Copy link
Contributor

This should allow terraform cloud to authenticate with AWS via a direct trust relationship instead of relying on a manual token placed in the environment of TFC.

See
https://developer.hashicorp.com/terraform/cloud-docs/workspaces/dynamic-provider-credentials#how-dynamic-credentials-work for documentation on how the dynamic credential system works.

This adds the infrastructure for doing this authentication but doesn't switch over to it yet, that can be done after merging.

This should allow terraform cloud to authenticate with AWS via a direct
trust relationship instead of relying on a manual token placed in the
environment variable of TFC.

See
https://developer.hashicorp.com/terraform/cloud-docs/workspaces/dynamic-provider-credentials#how-dynamic-credentials-work
for documentation on how the dynamic credential system works.
@kabilar
Copy link
Member

kabilar commented Jul 28, 2024

cc @aaronkanzer

@danlamanna danlamanna merged commit b547159 into master Jul 30, 2024
2 checks passed
@danlamanna danlamanna deleted the add-tfcloud-oidc-auth branch July 30, 2024 11:46
@danlamanna
Copy link
Contributor Author

FYI I modified the environment variables so TFC is no longer using the infrastructure user's long lived credentials. I'm assuming that dandi-infrastructure-bot is being used for other things so I left it alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants