Asher Foa
db559e7e06
Fix some typos
2020-01-14 09:55:32 -08: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
fb9ebe5a47
linting fixes
2019-12-16 19:56:11 -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
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Steve Pulec
b26d233820
Merge pull request #1565 from spulec/fix-1522
...
Fix security group rules for single rule case. Closes #1522 .
2018-06-08 17:58:30 -04:00
Steve Pulec
620530c4ee
Fix security group egress rule outout. Closes #1612
2018-05-31 22:07:19 -04:00
Steve Pulec
af8697c9a7
Fix security group rules for single rule case. Closes #1522 .
2018-04-13 15:03:07 -04:00
Nuwan Goonasekera
7ed1036ba8
Replaced direct querystring access with inherited _get_param
2017-09-16 19:05:32 +05:30
Steve Pulec
5f3fbff627
Standardize on one account id (123456789012).
2017-03-15 22:21:04 -04:00
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
Costy Petrisor
8689b40d23
made the security group endpoints that authorize or revoke firewall rules
...
to support batch rules (boto doesn't expose this, but botocore/boto3 does)
2016-10-20 19:34:11 +00:00
rocky4570fft
d6f76cbb43
Add dry_run to a number of EC2 services
2016-10-16 00:34:52 +10:00
Adam Romanek
b32fbf090a
Fix security group ingress authorization for all protocols with no port spec
2016-04-26 11:00:04 +02:00
gigimon
52eb16d765
* change api version to 2013-10-15
2016-02-02 16:15:18 +03:00
kevgliss
6bc4a8b38a
Adds support for authorizing and revoking egress permissions
2016-01-15 12:36:11 -08:00
Enis Afgan
e07894c6e4
When adding security group rules, allow a source group only to be specified - as per boto docs & functionality
2015-10-29 07:27:35 +01:00
Hugo Lopes Tavares
4beda26007
Change SecurityGroupBackend.{authorize,revoke}_security_group_ingress() methods to receive group name or id, never both
2015-02-25 18:11:00 -05:00
Steve Pulec
5ededbb297
Fix security group tags. Closes #301 .
2015-02-14 08:57:14 -05:00
dreadpirateshawn
9affa7753d
Performance: Leverage jinja2's Environment to cache compiled Templates.
2014-12-12 12:46:07 -08:00
Steve Pulec
2d65b0a020
Some EC2 fixes for alternative regions.
2014-10-30 22:46:24 -04:00
Steve Pulec
c1497886f2
Small IAM param parsing cleanup.
2014-09-08 23:11:20 -04:00
Rory-Finnegan
c2dd4a7ee4
Fixed py33 errors.
2014-09-03 19:52:23 -04:00
Rory-Finnegan
665beda466
Added support to get_all_security_groups endpoint to actually filter groups.
...
- Filters by groupnames, group_ids and a filters. However, the filters option doesn't
support owner-id and tags since neither attribute was readily available via the SecurityGroup object.
- Also included a basic test to confirm it works.
2014-09-03 16:57:51 -04:00
David Baumgold
eedb4c4b73
Support Python 3 using six
2014-08-28 10:57:43 -04:00
David Baumgold
4201e6b430
from __future__ import unicode_literals
2014-08-27 11:33:55 -04:00
Shawn Falkner-Horine
071c03e216
Error handling: Model-level validations, proper error responses.
2014-08-25 10:54:47 -07:00
Colin Johnson
853d6768ce
moto-152 - return vpc.id if exists else return nothing
2014-07-25 05:16:53 +00:00
Steve Pulec
06481ebe7e
Require a GroupDescription for security group creation. Closes #112 .
2014-05-11 17:37:00 -04:00
Jon Haddad
2b4fe552d1
VPC support for adding rules improving
2014-03-20 17:52:49 -07:00
Jon Haddad
cbdc8ba183
We're getting back the correct group from get_security_group_from_id,
...
but hitting another issue with the source_group_name also using an id
rather than a name
2014-03-20 17:26:08 -07:00
Steve Pulec
ec938ef904
Convert all EC2Response Mixins to subclasses.
2013-12-29 08:25:13 -05:00
Jon Haddad
48ee4b600b
updated SC methods to work with a group_id, which must be used if it's a group in a VPC
2013-12-06 14:34:13 -08:00
Jon Haddad
0712d40f71
added vpc_id to deletion
2013-12-05 16:39:25 -08:00
Jon Haddad
6ad8e109e4
more concise jinja
2013-10-30 18:59:21 -07:00
Jon Haddad
9ae144bad8
correctly getting the vpc address back
2013-10-30 18:50:42 -07:00
Steve Pulec
3bddbb4af3
Test out py26 with new HTTPretty
2013-10-03 20:34:13 -04:00
Steve Pulec
47bd4c49a3
attempting to move to upstream httpretty
2013-05-03 19:33:13 -04:00
Steve Pulec
1c8af2881a
add security group ingress rules
2013-02-23 16:27:43 -05:00
Steve Pulec
31f992fbe5
add, delete, describe security groups
2013-02-23 15:26:54 -05:00
Steve Pulec
0bd4d57ef2
raise NotImplementedError if not implemented
2013-02-22 07:55:48 -05:00
Steve Pulec
27a086409e
adding ec2 stubs
2013-02-21 23:13:01 -05:00