Skip to content

Commit

Permalink
🔖 1.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Feb 6, 2023
1 parent 6834e21 commit 23294b2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.7.5] - 2023-02-06

### Fixed
- Resolve cfn-lint check I3042 about hardcoded partition in arn. Thanks [CurryEleison](https://github.com/CurryEleison)!

## [1.7.4] - 2022-05-19

### Changed
Expand Down Expand Up @@ -77,6 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- First release

[1.7.5]: https://github.com/dflook/cloudformation-dns-certificate/compare/1.7.4...1.7.5
[1.7.4]: https://github.com/dflook/cloudformation-dns-certificate/compare/1.7.3...1.7.4
[1.7.3]: https://github.com/dflook/cloudformation-dns-certificate/compare/1.7.2...1.7.3
[1.7.2]: https://github.com/dflook/cloudformation-dns-certificate/compare/1.7.1...1.7.2
Expand Down
2 changes: 1 addition & 1 deletion cloudformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ def create_template():
f.write(template.to_yaml())

with open('cloudformation.json', 'w') as f:
f.write(template.to_json())
f.write(template.to_json(indent=4))
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
setup(
name='troposphere-dns-certificate',
description='Cloudformation DNS validated certificate resource for troposphere',
version='1.7.4',
version='1.7.5',
author='Daniel Flook',
author_email='daniel@flook.org',
url='https://github.com/dflook/cloudformation-dns-certificate',
Expand Down
15 changes: 9 additions & 6 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

set -e

HOSTED_ZONE_NAME=flook.org
HOSTED_ZONE_ID=Z2KZ5YTUFZNC7G
HOSTED_ZONE_ARN=arn:aws:iam::352732628874:role/Route53Role
HOSTED_ZONE2_NAME=flook.dev
HOSTED_ZONE2_ID=Z1ZTN5O45UNNUW
HOSTED_ZONE2_ARN=arn:aws:iam::352732628874:role/Route53Role
HOSTED_ZONE_NAME=example.com
HOSTED_ZONE_ID=ABCDEFG123456
HOSTED_ZONE_ARN=arn:aws:iam::11111111111:role/Route53Role
HOSTED_ZONE2_NAME=example.org
HOSTED_ZONE2_ID=ZXCVBNM09876
HOSTED_ZONE2_ARN=arn:aws:iam::22222222222:role/Route53Role

./create_test_template.py $HOSTED_ZONE_NAME $HOSTED_ZONE_ID $HOSTED_ZONE_ARN $HOSTED_ZONE2_NAME $HOSTED_ZONE2_ID $HOSTED_ZONE2_ARN> test.yaml

Expand All @@ -24,6 +24,9 @@ do

echo "Success in $region"
aws cloudformation delete-stack --stack-name dns-cert-test

echo "sleeping"
sleep 30
done

echo "Success in all regions"

0 comments on commit 23294b2

Please sign in to comment.