Zach Brookler
31ce74a842
Fix autoscaling tags ( #3010 )
...
* ENH: Add unit test for propagation tags
* BUG: Add missing translation of boolean PropagateAtLaunch tag values to strings
* BUG: Should really be checking for "true" and not True
* CLN: Black formatting
2020-05-24 12:21:29 +01:00
Steve Pulec
59c71760ff
Keep order in request body to ensure auth signing works. ( #3024 )
...
* Keep order in request body to ensure auth signing works.
* Lint.
* More OrderedDict to ensure data parameter order.
* Lint.
* Improve CF test assertions.
* Fix syntax error.
* Cleanup CF test.
2020-05-24 08:51:45 +01:00
Zach Brookler
80b64f9b3f
Cloud formation "depends_on" #2845 Add depends on and update name type mapping ( #2994 )
...
* ENH: Add unit test for cloudformation DependsOn
* ENH: Add implementation of retrieving list of resources that account for dependencies
* ENH: Update the name mappings so that they are consistent with the latest cloudformation names
* ENH: Add launch configuration to type names
* ENH: Create subnet for test and test creation with dependencies
* CLN: Code reformatting
* CLN: Remove print statements
* BUG: Fix error resulting in possible infinite loop
* CLN: Remove commented out fixture decorator
* BUG: Remove subnet creation
* CLN: Remove main and ec2 dependencies
* BUG: Add back in instance profile name type
* CLN: Remove print
* BUG: Fix broken unit test
* CLN: Code reformatting
* CLN: Remove main
* ENH: Add autoscaling group name to type names
* ENH: Add unit test for string only dependency and add assertions to unit tests
* ENH: Add unit test for chained depends_on in cloudformation stack
* BUG: Remove f strings for python 2.7 compatibility
* BUG: List needs to be sorted for python2.7
* CLN: Fix code formatting
2020-05-18 09:47:18 +01:00
Steve Pulec
229b3ec196
Merge pull request #2838 from bblommers/feature/2388
...
CloudFormation - CreateChangeSet should not create resources
2020-04-25 18:44:18 -05:00
Mike Grima
bdeeeb701a
Merge pull request #2880 from bblommers/bugfix/2877
...
EC2 - Ensure NCI always has a Subnet
2020-04-16 15:02:45 -07:00
Bert Blommers
414fcf7bbd
Fix AvailibilityZones in CF tests
2020-04-08 15:14:39 +01:00
Guilherme Martins Crocetti
503eeb51ae
style with black
2020-04-01 22:48:40 -03:00
Guilherme Martins Crocetti
c15ca133b8
add support for Fn::GetAtt in event's cloudformation
2020-04-01 22:14:51 -03:00
Guilherme Martins Crocetti
af08d71310
add support for RetentionInDays for LogGroup
2020-04-01 22:14:41 -03:00
Bert Blommers
04f488da62
#2388 - CloudFormation - CreateChangeSet does not create resources, as per spec
2020-03-24 10:22:08 +00:00
Guilherme Martins Crocetti
788b8fb6e1
Add tests for Events::Rule integration with cf
2020-03-23 22:17:02 -03:00
Guilherme Martins Crocetti
98a17dfc46
Add test for boto3 integration
2020-03-22 18:03:42 -03:00
Guilherme Martins Crocetti
7318523b50
Add cloudformation support for EventBridge
2020-03-22 16:56:58 -03:00
Steve Pulec
94f85902bc
Merge pull request #2821 from bblommers/feature/2255
...
CloudFormation - Add Support for FN:Transform and AWS:Include
2020-03-19 19:40:46 -05:00
Bert Blommers
cbf0397953
#2255 - CF - Implement FN::Transform and AWS::Include
2020-03-18 13:02:07 +00:00
Bert Blommers
3fab3f572f
#2773 - CloudFormation - Set CreationDate
2020-03-17 16:09:42 +00:00
Bert Blommers
9163f04292
Linting
2020-03-11 13:19:40 +00:00
Luis Pollo
20364b177a
Fix IAM role name when parsed from CloudFormation JSON.
2020-03-11 13:17:35 +00:00
Steve Pulec
b252ab6675
Merge pull request #2173 from sthuber90/master
...
Extending IoT Policy and Jobs functionality
2020-02-17 17:55:03 -06:00
Steve Pulec
e40d75359a
Merge pull request #2717 from bblommers/feature/s3_illegallocationconstraint
...
S3 Feature: Add IllegalLocationConstraintException
2020-02-15 10:41:00 -06:00
Bert Blommers
d5a36752d7
Add S3 LocationConstraint to CF tests
2020-02-02 12:44:26 +00:00
Brandon Bradley
8b3c2b6654
fix test
2020-01-30 17:50:21 -06:00
Brandon Bradley
b7795b7111
test for ListStackResources
2020-01-30 16:35:19 -06:00
Stephan Huber
20020c5170
Change whitespaces back to the way they were and fix typos
2020-01-23 15:46:50 +01:00
Stephan Huber
0527e88d46
Merge remote-tracking branch 'upstream/master'
2019-12-23 08:38:53 +01:00
Fabio Dias
743dd46399
black linting
2019-12-16 21:25:20 -05:00
Fabio Dias
fd9ac4b9a5
ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override
2019-12-16 21:05:29 -05:00
Fabio Dias
b83a750630
Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id
2019-12-16 19:56:11 -05:00
Bert Blommers
8362179f70
Use deprecated IAM, only plays nice with deprecated CF
2019-11-23 10:18:56 +00:00
Bert Blommers
d759f16331
Specify region name when creating Lambda roles
2019-11-22 08:12:47 +00:00
Bert Blommers
c6dd3c96ea
AWSLambda - refactor exception handling
2019-11-17 10:59:20 +00:00
Bert Blommers
ad23b65784
Implement CloudFormations IAMRole::GetArn
2019-11-07 11:35:07 -08:00
Bert Blommers
40aa73a12b
#2546 - AWS Lambda: Add Role validation when creating functions
2019-11-07 17:11:13 +00:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Stephan Huber
5a9c921d97
Merge remote-tracking branch 'upstream/master'
2019-08-30 14:39:29 +02:00
Randy Westergren
ccceb70397
And event source mapping endpoints and SQS trigger support
2019-08-20 21:54:57 -04:00
Stephan
d0de38601d
Merge remote-tracking branch 'upstream/master'
2019-05-28 08:55:50 +02:00
Bendegúz Ács
f408709ef9
VPC IPv4 validation ( #2026 )
...
* Implemented throwing invalid subnet range error and fixed breaking tests.
* Implemented throwing invalid CIDR block parameter error for vpcs and subnets.
* Implemented throwing invalid destination CIDR block error.
* IPv6 addresses not accepted, strict checking disabled.
* Implemented throwing invalid subnet conflict error and fixed breaking tests.
* Implemented throwing invalid VPC range error and fixed breaking tests.
* Fixed accidentally removed ).
* Fixed test case trying to create two subnets with the same CIDR range.
2019-05-25 18:35:07 +01:00
Koudai Aono
a61124f774
support to create dynamodb resource by cloudformation ( #2219 )
...
* support to create dynamodb resource by cloudformation
2019-05-25 10:16:33 +01:00
Craig Anderson
33efe07b43
Hide CloudFormation pararamters with NoEcho. Fixes #2021 ( #2024 )
2019-05-21 00:05:02 +01:00
Stephan
5804441d38
Merge remote-tracking branch 'upstream/master'
2019-04-29 12:11:47 +02:00
Steve Pulec
88e1f0fa23
Merge pull request #2015 from corrjo/master
...
#1514 Stackset Support
2019-04-22 19:04:47 -05:00
Steve Pulec
66dafc6679
Merge pull request #2130 from spulec/bugfix/network-interface-and-private-ip
...
Add private IP to every NetworkInterface
2019-04-01 15:17:36 -05:00
Mike Grima
921b5a3227
Fixing broken tests #2126
...
- KMS
- S3
- CloudFormation (Thanks kgutwin!)
2019-03-28 10:09:03 -07:00
Hugo Lopes Tavares
7c62f4a75c
Add test to CloudFormation and PrimaryPrivateIpAddress GetAtt
...
This test would raise an error before d4e39146b7
2019-03-27 16:28:18 -04:00
John Corrales
a6f7f06c30
Merge branch 'master' into master
2019-02-11 17:51:18 -08:00
Mark Challoner
337601b5fb
Add CloudFormation methods delete_change_set, describe_change_set and list_change_sets.
2019-01-21 17:18:50 +00:00
John Corrales
5fb43ee7b6
Operations ( #4 )
...
Added stop, list operation results, and describe operation
2019-01-14 22:01:53 -08:00
John Corrales
4207a8e182
Add stacksets ( #3 )
...
Added most stack set responses
2019-01-10 21:33:15 -08:00
Jacob Grismo
4f7d6e15c9
adds failing test case for lambda cfm env vars
...
Adds a failing test case that shows that a Lambda function resource in a CloudFormation template ignores
the Environment variable mapping.
2018-12-28 22:16:07 -05:00