Steve Pulec
5f3fbff627
Standardize on one account id (123456789012).
2017-03-15 22:21:04 -04:00
Steve Pulec
e9e49c5916
Fix py3 redshift encoding.
2017-03-15 22:12:16 -04:00
Steve Pulec
6666351757
Fix redshift server to default to xml.
2017-03-15 22:05:11 -04:00
Steve Pulec
3cdb4afad0
Fix redshift responses to work with json or xml.
2017-03-15 21:58:37 -04:00
Steve Pulec
09a4d177f5
Add kms boto3 test.
2017-03-14 23:42:52 -04:00
Steve Pulec
0df47574ab
Merge pull request #865 from adamstauffer/master
...
update RDS responses to return DBInstanceArn
2017-03-14 23:28:30 -04:00
Steve Pulec
2bd4567801
Do not use flask outside of server mode.
2017-03-14 23:26:31 -04:00
Steve Pulec
7eb5b60620
Merge pull request #860 from 2rs2ts/add-list-hosted-zones-by-name
...
Add ListHostedZonesByName
2017-03-14 23:24:03 -04:00
Steve Pulec
ad743cb5e1
Merge pull request #861 from scawley-r7/master
...
Ensure SQS property WaitTimeSeconds is an integer
2017-03-14 23:22:41 -04:00
Steve Pulec
d0cde0218c
Rearrange docs.
2017-03-14 23:20:17 -04:00
Andrew Garrett
6346e44c9d
Be flexible with Route53 Hosted Zone IDs with /hostedzone/ prefix
...
We will continue to store just the unique ID, but since the AWS API
returns /hostedzone/<id>, we should accept attempts to pass that back.
For example, both just the ID as well as /hostedzone/<id> work for
specifying the HostedZoneId of a ResourceRecordSet in CloudFormation. So
we should support that too.
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2017-03-14 19:52:36 +00:00
Steve Pulec
b81e427b99
Add moto apis.
2017-03-14 00:27:48 -04:00
Steve Pulec
4cf34cc113
Add docs for moto apis.
2017-03-14 00:17:56 -04:00
Steve Pulec
54c7e0bcf9
Update docs to newer sphinx.
2017-03-13 23:07:18 -04:00
Adam Stauffer
c5853b48da
update RDS responses to return DBInstanceArn
2017-03-13 16:48:22 -04:00
Andrew Garrett
b9ea947aa0
Add ListHostedZonesByName
2017-03-13 15:27:45 +00:00
Seamus Cawley
bd2ff89bf1
Ensure SQS property WaitTimeSeconds is an integer
2017-03-13 13:56:55 +00:00
Steve Pulec
cda553abfb
Change tests to use default server port of 5000.
2017-03-12 21:04:19 -04:00
Steve Pulec
689adf7dbc
Add flake8 to dev dependencies.
2017-03-12 20:41:08 -04:00
Steve Pulec
1664e4412f
Add lint to make test instead.
2017-03-12 20:37:23 -04:00
Steve Pulec
d2c56619cd
Add lint to Travis.
2017-03-12 20:35:45 -04:00
Steve Pulec
5807a38092
Merge pull request #858 from spulec/dashboard
...
Add a dashboard
2017-03-12 20:26:42 -04:00
Steve Pulec
0e2fdf94f9
Cleanup lints.
2017-03-12 20:18:54 -04:00
Steve Pulec
3a01150154
Add about page.
2017-03-12 19:58:40 -04:00
Steve Pulec
24affc7a5f
Fix py3 Model __new__.
2017-03-12 13:04:36 -04:00
Steve Pulec
4d5642ae33
Cleanup dashboard.
2017-03-12 12:59:30 -04:00
Christian Hellman
c271e31745
Fixed terraform deploy against moto fails ( #857 )
2017-03-12 12:40:49 -04:00
Steve Pulec
09ac3539b7
Sort dashboard attributes.
2017-03-12 12:34:54 -04:00
Steve Pulec
6d422d1f37
Add BaseModel to all models.
2017-03-11 23:41:12 -05:00
Steve Pulec
caea5f441d
Fix resetting backends.
2017-03-11 23:18:58 -05:00
Steve Pulec
abe0460dc7
Merge branch 'master' into dashboard
2017-03-11 22:45:45 -05:00
Steve Pulec
1709208872
First version of dashboard.
2017-03-11 22:45:42 -05:00
Steve Pulec
b2a360aaf7
Remove old boto sns test in favor of boto3 test.
2017-03-11 21:03:03 -05:00
Steve Pulec
cdd6e476cc
If using newer dynamodb api, use version 2.
2017-03-11 20:50:24 -05:00
Steve Pulec
1068e26e66
Bump travis to python 3.6
2017-03-06 21:48:22 -05:00
Steve Pulec
cf771d7f14
Add py26 deprecation to changelog
2017-03-06 21:22:37 -05:00
Steve Pulec
896f040fca
Fix sqs tests for server mode.
2017-03-05 10:09:19 -05:00
Steve Pulec
3b4ef2cf15
Merge in master.
2017-03-05 09:58:39 -05:00
Matt Chamberlin
0393c384ad
fix etag metadata field name in key response dict (etag --> ETag) ( #855 )
2017-03-04 23:17:18 -05:00
Andrew Garrett
e7735c3ee1
Add event IDs to CF Stack events ( #852 )
...
So that events can be uniquely identified.
I tried to match the format documented here:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-listing-event-history.html
2017-03-04 23:12:55 -05:00
Andrew Garrett
e7ea6b350c
Fix lambda stdout/stderr mocking ( #851 )
...
Originally, the code was setting sys.stdout and sys.stderr back to the
original, official forms, but this breaks idioms like mocking stdout to
capture printing output for tests. So instead, we will reset sys.stdout
and sys.stderr to what they were before running the lambda function, so
that in case someone is mocking stdout or stderr, their tests won't
break.
2017-03-04 23:01:50 -05:00
Andrew Garrett
f6465df630
Return CF Stack events in reverse chronological order ( #853 )
...
This is how the AWS API works:
http://boto3.readthedocs.io/en/latest/reference/services/cloudformation.html#CloudFormation.Client.describe_stack_events
2017-03-04 23:00:25 -05:00
Léo Cavaillé
9b6d3983d2
iam: add group policy methods ( #849 )
...
Implemented mocks for:
* get_all_group_policies
* list_group_policies (boto3)
* get_group_policy
* put_group_policy
2017-03-04 22:56:36 -05:00
Chris LaRose
56f9409ca9
Use request URL to generate SQS queue URLs; fixes #626 ( #827 )
2017-03-04 22:53:14 -05:00
William Richard
f46a24180f
Cast desired capacity for cloudformation asg to int ( #846 )
...
Cloudformation passes MaxSize, MinSize and DesiredCapacity as strings, but
we want to store them as ints. Also includes tests of this fix, to help
avoid regression.
2017-03-04 22:51:01 -05:00
David Wilcox
a9554924df
make cloudformation update stack use parameters provided ( #843 )
2017-03-04 22:48:51 -05:00
Andy Freeland
783242b696
Elastic IP PhysicalResourceId should always be its public IP ( #841 )
...
According to the [CloudFormation `Ref` docs][docs], the `Ref` return
value (and physical ID of the resource) for an Elastic IP is its public
IP address.
[docs]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html
2017-03-04 22:40:43 -05:00
Andy Freeland
a30ba2b597
EC2 tags specified in CloudFormation should be applied to the instances ( #840 )
...
Fixes #839 .
2017-03-04 22:37:53 -05:00
David Wilcox
1b6007e2b2
Correct IAM list_server_certs template that was based off incorrect docs ( #836 )
...
The documentation for this method is here https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServerCertificates.html
The docs say the return type is this ServerCertificateMetadataList.member.N
but the sample response incorrectly include a <ServerCertificateMetadata>. I've sent feedback to the AWS docs telling them to fix their stuff but this also needs to be fixed. I haven't checked other templates with <member> tags in them, as they may be prone to this same problem.
2017-03-04 22:36:25 -05:00
David Wilcox
8d737eb59d
Route53: allow hosted zone id as well when creating record sets ( #833 )
...
* add test that creates r53 record set from hosted zone id (not name)
* pass test to enable creating record sets by hosted zone ids
2017-03-04 22:31:45 -05:00