The stack creates named IAM roles, so CloudFormation needs theCAPABILITY_NAMED_IAM capability. Replace<your-customer-id> with the lowercase UUID from the app.
Create
aws cloudformation create-stack \
--stack-name jitguard-integration \
--template-url https://jitguard-prod-public.s3.eu-west-1.amazonaws.com/cloudformation/jitguard-customer-template.yml \
--parameters ParameterKey=CustomerId,ParameterValue=<your-customer-id> \
--capabilities CAPABILITY_NAMED_IAM \
--region eu-west-1
Update
aws cloudformation update-stack \
--stack-name jitguard-integration \
--template-url https://jitguard-prod-public.s3.eu-west-1.amazonaws.com/cloudformation/jitguard-customer-template.yml \
--parameters ParameterKey=CustomerId,ParameterValue=<your-customer-id> \
--capabilities CAPABILITY_NAMED_IAM \
--region eu-west-1
Delete
aws cloudformation delete-stack \
--stack-name jitguard-integration \
--region eu-west-1
Deleting the stack removes only the two JIT Guard roles and their policies. It does not delete your Identity Center users or permission sets, or any group JIT Guard did not create.