Skip to content

Commit

Permalink
update terraform letest version
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed Jan 10, 2023
1 parent de8b1e8 commit 3dafc9c
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 24 deletions.
1 change: 1 addition & 0 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
- name: tflint
uses: reviewdog/action-tflint@master
with:
tflint_version: v0.29.0
github_token: ${{ secrets.GITHUB }}
working_directory: ${{ matrix.directory }}
fail_on_error: 'true'
Expand Down
16 changes: 8 additions & 8 deletions _example/basic_example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider "aws" {

module "vpc" {
source = "clouddrove/vpc/aws"
version = "0.15.1"
version = "1.3.0"

name = "vpc"
environment = "test"
Expand All @@ -15,7 +15,7 @@ module "vpc" {

module "public_subnets" {
source = "clouddrove/subnet/aws"
version = "0.15.3"
version = "1.3.0"

name = "public-subnet"
environment = "test"
Expand All @@ -31,7 +31,7 @@ module "public_subnets" {

module "http-https" {
source = "clouddrove/security-group/aws"
version = "1.0.1"
version = "1.3.0"
name = "http-https"
environment = "test"
label_order = ["name", "environment"]
Expand All @@ -43,9 +43,9 @@ module "http-https" {

module "keypair" {
source = "clouddrove/keypair/aws"
version = "1.0.1"
version = "1.3.0"

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

module "ssh" {
source = "clouddrove/security-group/aws"
version = "1.0.1"
version = "1.3.0"
name = "ssh"
environment = "test"
label_order = ["name", "environment"]
Expand All @@ -67,7 +67,7 @@ module "ssh" {

module "iam-role" {
source = "clouddrove/iam-role/aws"
version = "1.0.1"
version = "1.3.0"

name = "iam-role"
environment = "test"
Expand All @@ -80,7 +80,7 @@ module "iam-role" {

module "kms_key" {
source = "clouddrove/kms/aws"
version = "1.0.1"
version = "1.3.0"
name = "kms"
environment = "test"
label_order = ["environment", "name"]
Expand Down
5 changes: 5 additions & 0 deletions _example/basic_example/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ output "tags" {
value = module.ec2.tags
description = "The instance tags."
}

output "public_ip" {
value = module.ec2.public_ip
description = "Public IP address assigned to the instance, if applicable."
}
6 changes: 3 additions & 3 deletions _example/basic_example/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.11"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
}
16 changes: 8 additions & 8 deletions _example/ebs_mount/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider "aws" {

module "vpc" {
source = "clouddrove/vpc/aws"
version = "0.15.1"
version = "1.3.0"

name = "vpc"
environment = "test"
Expand All @@ -15,7 +15,7 @@ module "vpc" {

module "public_subnets" {
source = "clouddrove/subnet/aws"
version = "0.15.3"
version = "1.3.0"

name = "public-subnet"
environment = "test"
Expand All @@ -31,7 +31,7 @@ module "public_subnets" {

module "http-https" {
source = "clouddrove/security-group/aws"
version = "1.0.1"
version = "1.3.0"
name = "http-https"
environment = "test"
label_order = ["name", "environment"]
Expand All @@ -43,7 +43,7 @@ module "http-https" {

module "ssh" {
source = "clouddrove/security-group/aws"
version = "1.0.1"
version = "1.3.0"
name = "ssh"
environment = "test"
label_order = ["name", "environment"]
Expand All @@ -55,9 +55,9 @@ module "ssh" {

module "keypair" {
source = "clouddrove/keypair/aws"
version = "1.0.1"
version = "1.3.0"

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

module "iam-role" {
source = "clouddrove/iam-role/aws"
version = "1.0.1"
version = "1.3.0"

name = "iam-role"
environment = "test"
Expand All @@ -79,7 +79,7 @@ module "iam-role" {

module "kms_key" {
source = "clouddrove/kms/aws"
version = "1.0.1"
version = "1.3.0"
name = "kms"
environment = "test"
label_order = ["environment", "name"]
Expand Down
5 changes: 5 additions & 0 deletions _example/ebs_mount/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ output "tags" {
value = module.ec2.tags
description = "The instance tags."
}

output "public_ip" {
value = module.ec2.public_ip
description = "Public IP address assigned to the instance, if applicable."
}
6 changes: 3 additions & 3 deletions _example/ebs_mount/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.11"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
}
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# naming convention.
module "labels" {
source = "clouddrove/labels/aws"
version = "0.15.0"
version = "1.3.0"

name = var.name
repository = var.repository
Expand Down
1 change: 0 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ variable "ebs_volume_type" {
description = "The type of EBS volume. Can be standard, gp2 or io1."
}


variable "instance_enabled" {
type = bool
default = true
Expand Down

0 comments on commit 3dafc9c

Please sign in to comment.