test eip allocation via CloudFormation for VPC and EC2 classic
This commit is contained in:
parent
d4cbc71b0a
commit
835259607a
3 changed files with 65 additions and 1 deletions
9
tests/test_cloudformation/fixtures/ec2_classic_eip.py
Normal file
9
tests/test_cloudformation/fixtures/ec2_classic_eip.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
template = {
|
||||
"Resources": {
|
||||
"EC2EIP": {
|
||||
"Type": "AWS::EC2::EIP"
|
||||
}
|
||||
}
|
||||
}
|
||||
12
tests/test_cloudformation/fixtures/vpc_eip.py
Normal file
12
tests/test_cloudformation/fixtures/vpc_eip.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
template = {
|
||||
"Resources": {
|
||||
"VPCEIP": {
|
||||
"Type": "AWS::EC2::EIP",
|
||||
"Properties": {
|
||||
"Domain": "vpc"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue