hkb-net-image-lifecycle
Image Builder lifecycle policy for the NAT AMI. Deletes images beyond the newest two.
- Lives in: Sandbox, Dev, Prod. Trusted by:
imagebuilder.amazonaws.com. - Boundary:
hkb-workload-boundary. - Reach: AWS managed policies only (
EC2ImageBuilderLifecycleExecutionPolicy). - Source:
network/hkb-image.yaml, resourceLifecycleRole.
Trust policy
AssumeRolePolicyDocument:
Version: "2012-10-17"
Statement:
- Effect: Allow
Principal:
Service: imagebuilder.amazonaws.com
Action: sts:AssumeRole
Condition:
StringEquals:
aws:SourceAccount: !Ref AWS::AccountId
Permissions
ManagedPolicyArns:
- !Sub arn:${AWS::Partition}:iam::aws:policy/service-role/EC2ImageBuilderLifecycleExecutionPolicy
Page information
- Owner
- Identity and Access
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
network/hkb-image.yaml- Linked from
- NAT image, NAT image, NAT image, Access, Roles, Network roles
- Plain markdown
- /wiki/roles/network/hkb-net-image-lifecycle/index.md