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

Provider 0.51.0 - SetNew only operates on computed keys - organization is not one error encountered when not configuring an organization argument in tfe_admin_organization_settings #1182

Closed
zisom-hc opened this issue Dec 18, 2023 · 0 comments · Fixed by #1183
Assignees
Labels

Comments

@zisom-hc
Copy link
Contributor

Terraform Cloud/Enterprise version

TFE: 202312-1

Terraform version

Terraform v1.6.6
on windows_amd64

Terraform Configuration Files

resource "tfe_admin_organization_settings" "test-company" {
  workspace_limit       = 0
  access_beta_tools     = false
  global_module_sharing = false
}

provider "tfe" {
  hostname     = "<tfe_address>"
  organization = "test-company"
}

Debug Output

https://gist.github.com/zisom-hc/afd4cd87109f41957c0c828d6552f1cf

Expected Behavior

The implied organization set within the provider block should be recognized and used

Actual Behavior

This error is being encountered during the plan phase; only when using tfe provider version 0.51.0. The same behavior does not occur when using 0.50.0

╷
│ Error: SetNew only operates on computed keys - organization is not one
│
│   with tfe_admin_organization_settings.test-company,
│   on organization.tf line 14, in resource "tfe_admin_organization_settings" "test-company":
│   14: resource "tfe_admin_organization_settings" "test-company" {
│
╵

Additional Context

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

Successfully merging a pull request may close this issue.

2 participants