mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
CloudFormation was not read by the request-resources generator, so under IAM enforcement every CloudFormation request was checked on *: a grant scoped to a stack or a stack set was refused, and a deny scoped to one never applied. cloudformation now moves into NAMESPACES (100 operations). One rule is fixed: an account member named after another record's shape names that record's account, not the type's (StackInstanceAccount is a StackInstance's), so a stack instance call is checked on its stack set in the caller's account. A stack or a stack set named by its name is checked on the ARN CloudFormation minted for it, which CloudFormationStoredResourceArns finds, reading only, or with its id open when it does not exist yet. A request naming its stack by no StackName (a change set by its ARN alone, DescribeStackResources by PhysicalResourceId alone) stays on *, as the generated data gives it. DescribeStackSet now returns StackSetARN, which botocore gives and Floci left out, in the Region of the request naming it.