1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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
con risposta un anno fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa