Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer awacs.aws.PolicyDocument over awacs.aws.Policy #1338

Merged
merged 1 commit into from
Jul 16, 2019

Conversation

michael-k
Copy link
Contributor

awacs.aws.PolicyDocument was introduced in awacs 0.7.1 to prevent confusions with troposphere.iam.Policy. troposphere requires awacs >= 0.8.

troposphere/ec2.py Outdated Show resolved Hide resolved
`awacs.aws.PolicyDocument` was introduced in awacs 0.7.1 to prevent
confusions with `troposphere.iam.Policy`.  troposphere requires awacs
>= 0.8.

Examples should use `PolicyDocument` to let users start the right way.
To not break existing code (`PolicyDocument` is a subclass of
`Policy`), policytypes must include both if available.
@markpeek markpeek merged commit 2c188fc into cloudtools:master Jul 16, 2019
@markpeek
Copy link
Member

Thanks @michael-k!

@michael-k michael-k deleted the awacs-aws-policydocument branch July 17, 2019 09:17
davemasino pushed a commit to davemasino/troposphere that referenced this pull request Oct 17, 2019
`awacs.aws.PolicyDocument` was introduced in awacs 0.7.1 to prevent
confusions with `troposphere.iam.Policy`.  troposphere requires awacs
>= 0.8.

Examples should use `PolicyDocument` to let users start the right way.
To not break existing code (`PolicyDocument` is a subclass of
`Policy`), policytypes must include both if available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants