Unsupported attribute when deploying gitops workflow #101
Answered
by
milldr
jochem725
asked this question in
Essential Support
-
|
I'm currently trying to deploy the following workflow: atmos workflow deploy/github-oidc-provider -f quickstart/foundation/gitopsI run into the following Terraform error when deploying the last step ( Planning failed. OpenTofu encountered an error while generating this plan.
╷
│ Warning: Deprecated Parameters
│
│ with module.gha_assume_role.module.allowed_role_map.module.account_map.data.terraform_remote_state.data_source[0],
│ on .terraform/modules/gha_assume_role.allowed_role_map.account_map/modules/remote-state/data-source.tf line 45, in data "terraform_remote_state" "data_source":
│ 45: data "terraform_remote_state" "data_source" {
│
│ The following parameters have been deprecated. Replace them as follows:
│ * role_arn -> assume_role.role_arn
│
│
│ (and 7 more similar warnings elsewhere)
╵
╷
│ Error: Unsupported attribute
│
│ on .terraform/modules/dynamodb/modules/remote-state/data-source.tf line 26, in locals:
│ 26: dynamodb_table = local.backend.dynamodb_table
│ ├────────────────
│ │ local.backend is object with 8 attributes
│
│ This object does not have an attribute named "dynamodb_table".
╵
╷
│ Error: Unsupported attribute
│
│ on .terraform/modules/s3_bucket/modules/remote-state/data-source.tf line 26, in locals:
│ 26: dynamodb_table = local.backend.dynamodb_table
│ ├────────────────
│ │ local.backend is object with 8 attributes
│
│ This object does not have an attribute named "dynamodb_table".
╵
Releasing state lock. This may take a few moments...
Any insights into what may be the cause of this issue? |
Beta Was this translation helpful? Give feedback.
Answered by
milldr
Sep 17, 2025
Replies: 1 comment 1 reply
-
|
Please try updating to the latest version of the component and rerunning. Update the # 'github-oidc-role' component vendoring config
# 'component.yaml' in the component folder is processed by the 'atmos' commands
# 'atmos vendor pull -c github-oidc-role' or 'atmos vendor pull --component github-oidc-role'
apiVersion: atmos/v1
kind: ComponentVendorConfig
spec:
source:
uri: github.com/cloudposse-terraform-components/aws-github-oidc-role.git//src?ref={{ .Version }}
version: v1.535.2 # Update this line
included_paths:
- "**/**"
excluded_paths: []Then vendor the component: Then try rerunning this specific component: Let me know if that works! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jochem725
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please try updating to the latest version of the component and rerunning.
Update the
github-oidc-rolecomponent by bumping the version tov1.535.2incomponents/terraform/github-oidc-role/component.yaml:The…