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

Team token won't regenerate more than one time with force_regenerate to true. #1257

Open
ghost opened this issue Feb 20, 2024 · 0 comments
Open
Labels

Comments

@ghost
Copy link

ghost commented Feb 20, 2024

Terraform Cloud/Enterprise version

Terraform Cloud

Terraform version

v1.7.3

Terraform Configuration Files

resource "tfe_team" "test" {
  name = "test"
}

resource "tfe_team_token" "test" {
  team_id = tfe_team.test.id
  force_regenerate = true
}

Debug Output

https://gist.github.com/emmleg/bbc3d03d31e7fd1883a1dfec38678a42

Expected Behavior

The team token should regenerate each time the project run, according to the documentation.

Actual Behavior

The team token only regenerate one time, then never get regenerated after rerun the terraform project. It work only by switching between false and true.

Additional Context

Documentation say it should regenerate even if aready exist, but not mentionning if we can do it multiple times or not.

@ghost ghost added the bug label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants