1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
In the console, I just tested the below template, and it worked as expected. If the fields, didn't match, I was unable to proceed, if they did I was able to create a stack from the template.
AWSTemplateFormatVersion: 2010-09-09
Parameters:
AdminPassword:
Type: String
ConfirmAdminPassword:
Type: String
Rules:
ConfirmPasswordsMatch:
Assertions:
- Assert:
Fn::Equals:
- !Ref AdminPassword
- !Ref ConfirmAdminPassword
AssertDescription: Passwords do not match
Resources:
myVPC:
Type: AWS::EC2::VPC
Properties:
CidrBlock: 10.0.0.0/16
EnableDnsSupport: 'true'
EnableDnsHostnames: 'true'
Tags:
- Key: stack
Value: test
respondido há um ano
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 4 meses