File tree 9 files changed +24
-23
lines changed
new_security_group_with_egress
9 files changed +24
-23
lines changed Original file line number Diff line number Diff line change 61
61
- name : tflint
62
62
uses : reviewdog/action-tflint@master
63
63
with :
64
+ tflint_version : v0.29.0
64
65
github_token : ${{ secrets.GITHUB }}
65
66
working_directory : ${{ matrix.directory }}
66
67
fail_on_error : ' true'
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ usage: |-
46
46
# use this
47
47
module "security_group" {
48
48
source = "clouddrove/security-group/aws"
49
- version = "1.0.1 "
49
+ version = "1.3.0 "
50
50
name = "security-group"
51
51
environment = "test"
52
52
protocol = "tcp"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ provider "aws" {
4
4
5
5
module "vpc" {
6
6
source = " clouddrove/vpc/aws"
7
- version = " 0.15.1 "
7
+ version = " 1.3.0 "
8
8
name = " vpc"
9
9
environment = " test"
10
10
label_order = [" name" , " environment" ]
@@ -25,6 +25,6 @@ module "security_group" {
25
25
allowed_ip = [" 172.16.0.0/16" , " 10.0.0.0/16" ]
26
26
allowed_ipv6 = [" 2405:201:5e00:3684:cd17:9397:5734:a167/128" ]
27
27
allowed_ports = [22 , 27017 ]
28
- security_groups = [" sg-xxxxxxxx " ]
29
- prefix_list_ids = [" pl-xxxxxxxx " ]
28
+ security_groups = [" sg-xxxxxxxxxxxx " ]
29
+ prefix_list_ids = [" pl-xxxxxxxxxxxx " ]
30
30
}
Original file line number Diff line number Diff line change 1
1
# Terraform version
2
2
terraform {
3
- required_version = " >= 0.14.0 "
3
+ required_version = " >= 1.3.6 "
4
4
5
5
required_providers {
6
6
aws = {
7
7
source = " hashicorp/aws"
8
- version = " >= 3.1.15 "
8
+ version = " >= 4.48.0 "
9
9
}
10
10
}
11
- }
11
+ }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ provider "aws" {
4
4
5
5
module "vpc" {
6
6
source = " clouddrove/vpc/aws"
7
- version = " 0.15.1 "
7
+ version = " 1.3.0 "
8
8
name = " vpc"
9
9
environment = " test"
10
10
label_order = [" name" , " environment" ]
Original file line number Diff line number Diff line change 1
1
# Terraform version
2
2
terraform {
3
- required_version = " >= 0.14.0 "
3
+ required_version = " >= 1.3.6 "
4
4
5
5
required_providers {
6
6
aws = {
7
7
source = " hashicorp/aws"
8
- version = " >= 3.1.15 "
8
+ version = " >= 4.48.0 "
9
9
}
10
10
}
11
11
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ provider "aws" {
4
4
5
5
module "vpc" {
6
6
source = " clouddrove/vpc/aws"
7
- version = " 0.15.1 "
7
+ version = " 1.3.0 "
8
8
name = " vpc"
9
9
environment = " test"
10
10
label_order = [" name" , " environment" ]
@@ -18,13 +18,13 @@ module "security_group" {
18
18
environment = " test"
19
19
label_order = [" name" , " environment" ]
20
20
21
- is_external = true
22
- existing_sg_id = " sg-0e9b47097401e92d0 "
23
- vpc_id = module. vpc . vpc_id
24
- protocol = " tcp"
25
- description = " Instance default security group (only egress access is allowed)."
26
- allowed_ip = [" 172.16.0.0/16" , " 10.0.0.0/16" ]
27
- allowed_ipv6 = [" 2405:201:5e00:3684:cd17:9397:5734:a167/128" ]
28
- allowed_ports = [22 , 27017 ]
29
- # security_groups = ["sg-061165cd9a3f742d6 "]
21
+ is_external = true
22
+ existing_sg_id = " sg-xxxxxxxxxxxx "
23
+ vpc_id = module. vpc . vpc_id
24
+ protocol = " tcp"
25
+ description = " Instance default security group (only egress access is allowed)."
26
+ allowed_ip = [" 172.16.0.0/16" , " 10.0.0.0/16" ]
27
+ allowed_ipv6 = [" 2405:201:5e00:3684:cd17:9397:5734:a167/128" ]
28
+ allowed_ports = [22 , 27017 ]
29
+ security_groups = [" sg-xxxxxxxxxxxxx " ]
30
30
}
Original file line number Diff line number Diff line change 1
1
# Terraform version
2
2
terraform {
3
- required_version = " >= 0.14.0 "
3
+ required_version = " >= 1.3.6 "
4
4
5
5
required_providers {
6
6
aws = {
7
7
source = " hashicorp/aws"
8
- version = " >= 3.1.15 "
8
+ version = " >= 4.48.0 "
9
9
}
10
10
}
11
11
}
Original file line number Diff line number Diff line change 9
9
10
10
module "labels" {
11
11
source = " clouddrove/labels/aws"
12
- version = " 0.15 .0"
12
+ version = " 1.3 .0"
13
13
14
14
enabled = var. enable_security_group
15
15
name = var. name
You can’t perform that action at this time.
0 commit comments