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

Provide a way to "stub" the Terraform provider #51766

Open
webvictim opened this issue Feb 3, 2025 · 0 comments
Open

Provide a way to "stub" the Terraform provider #51766

webvictim opened this issue Feb 3, 2025 · 0 comments
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements terraform-provider Issues relating to the Teleport Terraform provider in the teleport-plugins repo ux

Comments

@webvictim
Copy link
Contributor

webvictim commented Feb 3, 2025

What would you like Teleport to do?

Some Terraform deployment stacks require providers to be declared globally whether they are used as part of the specific module or not.

Teleport's Terraform provider does not currently allow itself to be "stubbed" i.e. used without a valid cluster address and identity file - it requires an addr and identity to be specified in the provider configuration and will attempt to ping them on initialization.

Trying to provide Teleport with a bogus addr (localhost) and identity (/dev/null) causes the provider's startup to fail with an error that it cannot decode the identity file.

We should provide a way to stub/dry-run the provider so that it doesn't try to do anything on startup if it isn't required.

What problem does this solve?

Easier deployment into existing customer architectures.

If a workaround exists, please include it.

None currently known.

@webvictim webvictim added feature-request Used for new features in Teleport, improvements to current should be #enhancements terraform-provider Issues relating to the Teleport Terraform provider in the teleport-plugins repo ux labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements terraform-provider Issues relating to the Teleport Terraform provider in the teleport-plugins repo ux
Projects
None yet
Development

No branches or pull requests

1 participant