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

Fix IAM test errors due to missing version #741

Merged
merged 1 commit into from
Jul 25, 2019

Conversation

mromaszewicz
Copy link
Contributor

Moto is requiring policy documents to be at least version
2012-10-17, so add that property.

Moto is requiring policy documents to be at least version
2012-10-17, so add that property.
@phobologic phobologic merged commit 3c14aa4 into cloudtools:master Jul 25, 2019
phobologic pushed a commit that referenced this pull request Feb 17, 2020
* Add YAML environment file support

Environment files ending in .yaml or .yml will be rendered using
a different strategy. The env file is treated as a dict, with
the value for each key being a parsed YAML object. After parsing
the config, we look for things that look like variable references,
and replace the references with objects.

* Fix lint errors

* Fix more lint errors

Now with the correct version of flake8

* Fix IAM test errors due to missing version

Moto is requiring policy documents to be at least version
2012-10-17, so add that property.

* Fix python 2.7 issues

Python 2.7 strings and Python 3 strings work differently, and
regular expression matching is different too. Rewrite in a way
which works with both language versions.

* Remove debug printout

* Fix IAM test errors due to missing version (#741)

Moto is requiring policy documents to be at least version
2012-10-17, so add that property.

* Use case insensitive file match

When checking for yaml suffixes on environment files, ignore
case.

* Add YAML environment file support

Environment files ending in .yaml or .yml will be rendered using
a different strategy. The env file is treated as a dict, with
the value for each key being a parsed YAML object. After parsing
the config, we look for things that look like variable references,
and replace the references with objects.

* Fix lint errors

* Fix more lint errors

Now with the correct version of flake8

* Fix python 2.7 issues

Python 2.7 strings and Python 3 strings work differently, and
regular expression matching is different too. Rewrite in a way
which works with both language versions.

* Remove debug printout

* Use case insensitive file match

When checking for yaml suffixes on environment files, ignore
case.

* Small documentation update

Yaml config example should use .yml file suffix, not .env

Co-authored-by: Marcin Romaszewicz <47459980+deepmap-marcinr@users.noreply.github.com>
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.

3 participants