1 Answer
- Newest
- Most votes
- Most comments
1
You could try using both a condition and dependency on your resource, though you would have to duplicate it (in a way):
RealiteParkingCloudFrontDistributionForProd:
Type: AWS::CloudFront::Distribution
DependsOn: webApp
Condition: IsProd
RealiteParkingCloudFrontDistributionForDev:
Type: AWS::CloudFront::Distribution
DependsOn: webLogs
Condition: IsDev
