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

tfe_workspace execution_mode deprecated #38

Open
zachreborn opened this issue Dec 30, 2023 · 0 comments
Open

tfe_workspace execution_mode deprecated #38

zachreborn opened this issue Dec 30, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zachreborn
Copy link
Owner

Describe the bug

execution_mode is deprecated for terraform workspaces in tfe_workspace

Warning: Argument is deprecated
with module.octo_prod_infrastructure.tfe_workspace.this
on .terraform/modules/octo_prod_infrastructure/modules/terraform/workspace/main.tf line 21, in resource "tfe_workspace" "this":
  execution_mode                = var.execution_mode
Use resource tfe_workspace_settings to modify the workspace execution settings. This attribute will be removed in a future release of the provider.

To Reproduce

v2.14.2

module "octo_prod_infrastructure" {
  source                = "github.com/zachreborn/terraform-modules//modules/terraform/workspace?ref=v2.14.2"
  assessments_enabled   = false
  enable_dynamic_auth   = true
  dynamic_auth_role_arn = "arn:aws:iam::1111111111:role/terraform_cloud"
  identifier            = "zachreborn/octo_prod_infrastructure"
  name                  = "octo_prod_infrastructure"
  oauth_token_id        = var.octo_github_oauth_token_id
  organization          = var.octo_organization
  permission_map        = var.octo_admin_only_workspace_permissions_mapping
  terraform_version     = var.terraform_version
}
@zachreborn zachreborn added the bug Something isn't working label Dec 30, 2023
@zachreborn zachreborn self-assigned this Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant