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

Error creating tfe_organization_default_settings resource in TFC; conflicting resource names in the docs #1220

Open
jamiezieziula opened this issue Jan 19, 2024 · 0 comments
Labels

Comments

@jamiezieziula
Copy link

Terraform Cloud/Enterprise version

We are using Terraform Cloud

Terraform version

1.7.0

Terraform Configuration Files

resource "tfe_organization_default_settings" "org_default" {
  default_execution_mode = "remote"
}

Expected Behavior

I should be able to successfully create the resource to set the org default execution setting

Actual Behavior

I get this error message when running this in TFC: Error: error setting default execution mode of organization : resource not found
Screenshot 2024-01-18 at 8 13 26 PM

Additional Context

I was able to successfully import the resource by running

terraform import tfe_organization_default_settings.org org-name

But i initially had trouble because the docs import code found here references a different resource tfe_organization_default_execution_mode

terraform import tfe_organization_default_execution_mode.test my-org-name
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

1 participant