Skip to content

Mark ECS AMI as nonsensitive and output the AMI name - #188

Merged
irvingpop merged 1 commit into
mainfrom
ecs-ami-nonsensitive
Oct 22, 2026
Merged

irvingpop merged 1 commit into
mainfrom
ecs-ami-nonsensitive

Conversation

@irvingpop

Copy link
Copy Markdown
Collaborator

Summary

  • The AWS provider marks all aws_ssm_parameter values as sensitive, so plans showed image_id = (sensitive value). The ECS-optimized AMI parameter is public, so wrap it in nonsensitive().
  • Add an ecs_ami_name output with the AMI name.

Plan

  • aws_launch_template.this[0]: removes the sensitive mark only. The AMI value does not change, so no new launch template version.
  • New output: ecs_ami_name = "al2023-ami-ecs-hvm-2023.0.20261019-kernel-6.1-arm64"

🤖 Generated with Claude Code

The AWS provider marks all aws_ssm_parameter values as sensitive, which
hid the AMI ID in plans. The ECS-optimized AMI parameter is public, so
wrap it in nonsensitive() and expose the AMI name as an output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@irvingpop
irvingpop merged commit d28b70e into main Oct 22, 2026
1 check passed
@irvingpop
irvingpop deleted the ecs-ami-nonsensitive branch October 22, 2026 13:48
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.

1 participant