Skip to content

Commit 9b129eb

Browse files
authored
Merge pull request #32 from clouddrove/cd-283
update terraform letest version
2 parents de8b1e8 + 3dafc9c commit 9b129eb

File tree

9 files changed

+34
-24
lines changed

9 files changed

+34
-24
lines changed

.github/workflows/terraform.yml

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
- name: tflint
6161
uses: reviewdog/action-tflint@master
6262
with:
63+
tflint_version: v0.29.0
6364
github_token: ${{ secrets.GITHUB }}
6465
working_directory: ${{ matrix.directory }}
6566
fail_on_error: 'true'

_example/basic_example/example.tf

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ provider "aws" {
44

55
module "vpc" {
66
source = "clouddrove/vpc/aws"
7-
version = "0.15.1"
7+
version = "1.3.0"
88

99
name = "vpc"
1010
environment = "test"
@@ -15,7 +15,7 @@ module "vpc" {
1515

1616
module "public_subnets" {
1717
source = "clouddrove/subnet/aws"
18-
version = "0.15.3"
18+
version = "1.3.0"
1919

2020
name = "public-subnet"
2121
environment = "test"
@@ -31,7 +31,7 @@ module "public_subnets" {
3131

3232
module "http-https" {
3333
source = "clouddrove/security-group/aws"
34-
version = "1.0.1"
34+
version = "1.3.0"
3535
name = "http-https"
3636
environment = "test"
3737
label_order = ["name", "environment"]
@@ -43,9 +43,9 @@ module "http-https" {
4343

4444
module "keypair" {
4545
source = "clouddrove/keypair/aws"
46-
version = "1.0.1"
46+
version = "1.3.0"
4747

48-
public_key = "ssh-rsa AAAAB3NzoH5VN917JHNcDf/C8rA0bl6RrRpmDXieA5313Br3UP5qXZSebyRA+WcXtxB8zk9xntliwXU+GpX4WCMcCPLgDkUbbmKInESoH2DFnqgfxyWQaOYZJ2W7/6Aa17qTtrT04FdQel2jdNGjp7BwjHFJxAiSUbDuJPFjZUoEATpryUyT4opAQh7lo/ZwSxrH6wPSGAC0npp/hiJ8/PN2zpFbVJBlHXX96bCGfYQUC013xN54z4HmElGTCtC45SGQ766lmGiIRfxUh/EprjrCQ/u0yOidz1l/eed/CruKss2Vzgd9CnA4tB/3UhsAnEZoTz2Qb4NnWIdHZC8kKIlAumQxLEb/yukofdO0JEGi07LsgwRx1gDcESFzcfnHHNXMybrPU3YrOPI9x22QHt5ufmeZTw3zqIsm7plxhUlhwaIEOzKLjZC9Y9L6FAulz0uMKsOdDqXKAkrujI6/cgxHqUZ8oq8t8E= "
48+
public_key = "ssh-rsa 2U2K8norJh5/gxz7sbSSseLd+ldHEOM3+lajUSGqWk3Bw/NgygEf1Kgw7gyK3jsTVVcokhK3TDuR3pi4u2QDR2tvLXddPKd37a2S7Lwpog8CvslYEDV1Vf9HNeh9A3yOS6Pkjq6gDMrsUVF89ps3zuLmdVBIlCOnJDkwHK71lKihGKdkeXEtAj0aOQzAJsIpDFXz7vob9OiA/fb2T3t4R1EwEsPEnYVczKMsqUyqa+EE36bItcZHQyCPVN7+bRJyJpPcrfrsAa4yMtiHUUiecPdL/6HYwGHxA5rUX3uD2UBm6sbGBH00ZCj6yUxl2UQR5NE4NR35NI86Q+q1kNOc5VctxxQOTHBwKHaGvKLk4c5gHXaEl8yyYL0wVkL"
4949
key_name = "devops"
5050
environment = "test"
5151
label_order = ["name", "environment"]
@@ -55,7 +55,7 @@ module "keypair" {
5555

5656
module "ssh" {
5757
source = "clouddrove/security-group/aws"
58-
version = "1.0.1"
58+
version = "1.3.0"
5959
name = "ssh"
6060
environment = "test"
6161
label_order = ["name", "environment"]
@@ -67,7 +67,7 @@ module "ssh" {
6767

6868
module "iam-role" {
6969
source = "clouddrove/iam-role/aws"
70-
version = "1.0.1"
70+
version = "1.3.0"
7171

7272
name = "iam-role"
7373
environment = "test"
@@ -80,7 +80,7 @@ module "iam-role" {
8080

8181
module "kms_key" {
8282
source = "clouddrove/kms/aws"
83-
version = "1.0.1"
83+
version = "1.3.0"
8484
name = "kms"
8585
environment = "test"
8686
label_order = ["environment", "name"]

_example/basic_example/outputs.tf

+5
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ output "tags" {
77
value = module.ec2.tags
88
description = "The instance tags."
99
}
10+
11+
output "public_ip" {
12+
value = module.ec2.public_ip
13+
description = "Public IP address assigned to the instance, if applicable."
14+
}

_example/basic_example/versions.tf

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Terraform version
22
terraform {
3-
required_version = ">= 0.14.11"
3+
required_version = ">= 1.3.6"
44

55
required_providers {
66
aws = {
77
source = "hashicorp/aws"
8-
version = ">= 3.1.15"
8+
version = ">= 4.48.0"
99
}
1010
}
11-
}
11+
}

_example/ebs_mount/example.tf

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ provider "aws" {
44

55
module "vpc" {
66
source = "clouddrove/vpc/aws"
7-
version = "0.15.1"
7+
version = "1.3.0"
88

99
name = "vpc"
1010
environment = "test"
@@ -15,7 +15,7 @@ module "vpc" {
1515

1616
module "public_subnets" {
1717
source = "clouddrove/subnet/aws"
18-
version = "0.15.3"
18+
version = "1.3.0"
1919

2020
name = "public-subnet"
2121
environment = "test"
@@ -31,7 +31,7 @@ module "public_subnets" {
3131

3232
module "http-https" {
3333
source = "clouddrove/security-group/aws"
34-
version = "1.0.1"
34+
version = "1.3.0"
3535
name = "http-https"
3636
environment = "test"
3737
label_order = ["name", "environment"]
@@ -43,7 +43,7 @@ module "http-https" {
4343

4444
module "ssh" {
4545
source = "clouddrove/security-group/aws"
46-
version = "1.0.1"
46+
version = "1.3.0"
4747
name = "ssh"
4848
environment = "test"
4949
label_order = ["name", "environment"]
@@ -55,9 +55,9 @@ module "ssh" {
5555

5656
module "keypair" {
5757
source = "clouddrove/keypair/aws"
58-
version = "1.0.1"
58+
version = "1.3.0"
5959

60-
public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABcDf/C8rA0bl6RrRpmDXieA5313Br3UP5qXZSebyRA+WcXtxB8zk9xntliwXU+GpX4WCMcCPLgDkUbbmKInESoH2DFnqgfxyWQaOYZJ2W7/6Aa17qTtrT04FdQel2jdNGjp7BwjHFJxAiSUbDuJPFjZUoEATpryUyT4opAQh7lo/ZwSxrH6wPSGAC0npp/hiJ8/PN2zpFbVJBlHXX96bCGfYQUC013xN54z4HmElGTCtC45SGQ766lmGiIRfxUh/EprjrCQ/u0yOidz1l/eed/CruKss2Vzgd9CnA4tB/3UhsAnEZoTz2Qb4NnWIdHZC8kKIlAumQxLEb/yukofdO0JEGi07LsgwRx1gDcESFzcfnHHNXMybrPU3YrOPI9x22QHt5ufmeZTw3zqIsm7plxhUlhwaIEOzKLjZC9Y9L6FAulz0uMKsOdDqXKAkrujI6/cgxHqUZ8oq8t8"
60+
public_key = "ssh-rsa AAAAB3NLd+ldHEOM3+lajUSGqWk3Bw/NgygEf1Kgw7gyK3jsTVVcokhK3TDuR3pi4u2QDR2tvLXddPKd37a2S7rjeqecw+XRW9559zKaR7RJJfjO1u1Onc2tgA3y0btdju2bcYBtFkRVOLwpog8CvslYEDV1Vf9HNeh9A3yOS6Pkjq6gDMrsUVF89ps3zuLmdVBIlCOnJDkwHK71lKihGKdkeXEtAj0aOQzAJsIpDFXz7vob9OiA/fb2T3t4R1EwEsPEnYVczKMsqUyqa+EE36bItcZHQyCPVN7+bRJyJpPcrfrsAa4yMBm6sbGBH00ZCj6yUxl2UQR5NE4NR35NI86Q+q1kNOc5VctxxQOTHBwKHaGvKLk4c5gHXaEl8y"
6161
key_name = "devops"
6262
environment = "test"
6363
label_order = ["name", "environment"]
@@ -66,7 +66,7 @@ module "keypair" {
6666

6767
module "iam-role" {
6868
source = "clouddrove/iam-role/aws"
69-
version = "1.0.1"
69+
version = "1.3.0"
7070

7171
name = "iam-role"
7272
environment = "test"
@@ -79,7 +79,7 @@ module "iam-role" {
7979

8080
module "kms_key" {
8181
source = "clouddrove/kms/aws"
82-
version = "1.0.1"
82+
version = "1.3.0"
8383
name = "kms"
8484
environment = "test"
8585
label_order = ["environment", "name"]

_example/ebs_mount/outputs.tf

+5
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ output "tags" {
77
value = module.ec2.tags
88
description = "The instance tags."
99
}
10+
11+
output "public_ip" {
12+
value = module.ec2.public_ip
13+
description = "Public IP address assigned to the instance, if applicable."
14+
}

_example/ebs_mount/versions.tf

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Terraform version
22
terraform {
3-
required_version = ">= 0.14.11"
3+
required_version = ">= 1.3.6"
44

55
required_providers {
66
aws = {
77
source = "hashicorp/aws"
8-
version = ">= 3.1.15"
8+
version = ">= 4.48.0"
99
}
1010
}
11-
}
11+
}

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# naming convention.
99
module "labels" {
1010
source = "clouddrove/labels/aws"
11-
version = "0.15.0"
11+
version = "1.3.0"
1212

1313
name = var.name
1414
repository = var.repository

variables.tf

-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ variable "ebs_volume_type" {
191191
description = "The type of EBS volume. Can be standard, gp2 or io1."
192192
}
193193

194-
195194
variable "instance_enabled" {
196195
type = bool
197196
default = true

0 commit comments

Comments
 (0)