1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
2
Hello.
I think the problem is that the list is created by listing something called "StackInstances" that cannot be used in "StackInstancesGroup".
Also, "Regions" was written to be included in "DeploymentTargets", so that has also been corrected.
So I think you can use it by modifying it as follows.
https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stackset.html#cfn-cloudformation-stackset-stackinstancesgroup
TestingStackSet20240411:
Type: AWS::CloudFormation::StackSet
Properties:
StackSetName: TestingStackSet20240411
TemplateURL: https://s3.amazonaws.com/<your-bucket>/StackSetTemplate.yaml
Parameters:
- {ParameterKey: BucketName, ParameterValue: TestingBucketName}
# Tags: #[Array of Tag]
Capabilities: #[Array of String]
- CAPABILITY_NAMED_IAM
PermissionModel: SELF_MANAGED #Allowed Values[SERVICE_MANAGED | SELF_MANAGED]
AutoDeployment:
# Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organizational unit
Enabled: false
RetainStacksOnAccountRemoval: false
StackInstancesGroup:
- DeploymentTargets:
# AccountFilterType: #Allowed Values[NONE | UNION | INTERSECTION | DIFFERENCE]
# OrganizationalUnitIds: #[Array of String]
# AccountsUrl: [String]
Accounts: #[Array of String]
- !GetAtt TestingOUAccount20240411.AccountId #!RefTestingOUAccount20240411
Regions:
- us-east-1
ParameterOverrides: #[Array of Parameter]
- {ParameterKey: BucketName, ParameterValue: TestingBucketName,}
Contenido relevante
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 2 años