mirror of
https://github.com/docker/compose.git
synced 2025-07-30 00:54:19 +02:00
Add security group declaration in cloudformation conversion tests
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com> Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
ae4dc2e0db
commit
6798ad1245
@ -58,6 +58,26 @@
|
|||||||
},
|
},
|
||||||
"Type": "AWS::Logs::LogGroup"
|
"Type": "AWS::Logs::LogGroup"
|
||||||
},
|
},
|
||||||
|
"TestSimpleConvertDefaultNetwork": {
|
||||||
|
"Properties": {
|
||||||
|
"GroupDescription": "TestSimpleConvert default Security Group",
|
||||||
|
"GroupName": "TestSimpleConvertDefaultNetwork",
|
||||||
|
"Tags": [
|
||||||
|
{
|
||||||
|
"Key": "com.docker.compose.project",
|
||||||
|
"Value": "TestSimpleConvert"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "com.docker.compose.network",
|
||||||
|
"Value": "default"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"VpcId": {
|
||||||
|
"Ref": "ParameterVPCId"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Type": "AWS::EC2::SecurityGroup"
|
||||||
|
},
|
||||||
"simpleService": {
|
"simpleService": {
|
||||||
"Properties": {
|
"Properties": {
|
||||||
"Cluster": {
|
"Cluster": {
|
||||||
@ -76,6 +96,11 @@
|
|||||||
"NetworkConfiguration": {
|
"NetworkConfiguration": {
|
||||||
"AwsvpcConfiguration": {
|
"AwsvpcConfiguration": {
|
||||||
"AssignPublicIp": "ENABLED",
|
"AssignPublicIp": "ENABLED",
|
||||||
|
"SecurityGroups": [
|
||||||
|
{
|
||||||
|
"Ref": "TestSimpleConvertDefaultNetwork"
|
||||||
|
}
|
||||||
|
],
|
||||||
"Subnets": [
|
"Subnets": [
|
||||||
{
|
{
|
||||||
"Ref": "ParameterSubnet1Id"
|
"Ref": "ParameterSubnet1Id"
|
||||||
|
@ -58,6 +58,26 @@
|
|||||||
},
|
},
|
||||||
"Type": "AWS::Logs::LogGroup"
|
"Type": "AWS::Logs::LogGroup"
|
||||||
},
|
},
|
||||||
|
"TestSimpleWithOverridesDefaultNetwork": {
|
||||||
|
"Properties": {
|
||||||
|
"GroupDescription": "TestSimpleWithOverrides default Security Group",
|
||||||
|
"GroupName": "TestSimpleWithOverridesDefaultNetwork",
|
||||||
|
"Tags": [
|
||||||
|
{
|
||||||
|
"Key": "com.docker.compose.project",
|
||||||
|
"Value": "TestSimpleWithOverrides"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "com.docker.compose.network",
|
||||||
|
"Value": "default"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"VpcId": {
|
||||||
|
"Ref": "ParameterVPCId"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Type": "AWS::EC2::SecurityGroup"
|
||||||
|
},
|
||||||
"simpleService": {
|
"simpleService": {
|
||||||
"Properties": {
|
"Properties": {
|
||||||
"Cluster": {
|
"Cluster": {
|
||||||
@ -76,6 +96,11 @@
|
|||||||
"NetworkConfiguration": {
|
"NetworkConfiguration": {
|
||||||
"AwsvpcConfiguration": {
|
"AwsvpcConfiguration": {
|
||||||
"AssignPublicIp": "ENABLED",
|
"AssignPublicIp": "ENABLED",
|
||||||
|
"SecurityGroups": [
|
||||||
|
{
|
||||||
|
"Ref": "TestSimpleWithOverridesDefaultNetwork"
|
||||||
|
}
|
||||||
|
],
|
||||||
"Subnets": [
|
"Subnets": [
|
||||||
{
|
{
|
||||||
"Ref": "ParameterSubnet1Id"
|
"Ref": "ParameterSubnet1Id"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user