Skip to content

Fix count depending on computed task_role_arn value - #84

Merged
strick-j merged 1 commit into
developfrom
claude/fix-iam-aws-permissions-MT43o
Feb 9, 2026
Merged

Fix count depending on computed task_role_arn value#84
strick-j merged 1 commit into
developfrom
claude/fix-iam-aws-permissions-MT43o

Conversation

@strick-j

@strick-j strick-j commented Feb 9, 2026

Copy link
Copy Markdown
Owner

Replace the string comparison (var.task_role_arn == "") with a static boolean var.create_task_role for conditional resource creation. The ARN is a computed value unknown at plan time, which causes Terraform to error with "count depends on resource attributes that cannot be determined until apply".

https://claude.ai/code/session_019sFURW6ZEq13BBxtrd1CTE

Replace the string comparison (var.task_role_arn == "") with a static
boolean var.create_task_role for conditional resource creation. The ARN
is a computed value unknown at plan time, which causes Terraform to
error with "count depends on resource attributes that cannot be
determined until apply".

https://claude.ai/code/session_019sFURW6ZEq13BBxtrd1CTE
@strick-j
strick-j merged commit bdb6d14 into develop Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants