Skip to content

Commit

Permalink
Merge pull request #10 from clouddrove/cd-334
Browse files Browse the repository at this point in the history
Cd 334
  • Loading branch information
yadavprakash committed Feb 20, 2023
2 parents ecbdb5d + 8ed5297 commit 07b8ea8
Show file tree
Hide file tree
Showing 21 changed files with 123 additions and 43 deletions.
80 changes: 80 additions & 0 deletions _example/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ module "secure_baseline" {
require_symbols = true
allow_users_to_change_password = true
max_password_age = 120
}
}
4 changes: 2 additions & 2 deletions _example/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
6 changes: 3 additions & 3 deletions modules/alarm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data "aws_caller_identity" "current" {}
# naming convention
module "labels" {
source = "clouddrove/labels/aws"
version = "0.15.0"
version = "1.3.0"

name = var.name
environment = var.environment
Expand All @@ -26,7 +26,7 @@ resource "null_resource" "cluster" {

module "alarm-lambda" {
source = "clouddrove/lambda/aws"
version = "0.15.0"
version = "1.3.0"

name = "alarm-lambda"
environment = var.environment
Expand Down Expand Up @@ -70,7 +70,7 @@ module "alarm-lambda" {
#Description : Provides an SNS topic resource
module "sns" {
source = "clouddrove/sns/aws"
version = "0.15.0"
version = "1.3.0"

name = "alarm-sns"
environment = var.environment
Expand Down
4 changes: 2 additions & 2 deletions modules/alarm/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/analyzer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#Description : Terraform module to create consistent naming for multiple names.
module "labels" {
source = "clouddrove/labels/aws"
version = "0.15.0"
version = "1.3.0"

name = var.name
environment = var.environment
Expand Down Expand Up @@ -55,7 +55,7 @@ resource "null_resource" "cluster" {

module "slack-lambda" {
source = "clouddrove/lambda/aws"
version = "0.15.0"
version = "1.3.0"

name = format("%s-slack-lambda", module.labels.id)
environment = var.environment
Expand Down
4 changes: 2 additions & 2 deletions modules/analyzer/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
8 changes: 4 additions & 4 deletions modules/cloudtrail/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data "aws_region" "current" {}
# naming convention
module "labels" {
source = "clouddrove/labels/aws"
version = "0.15.0"
version = "1.3.0"

name = var.name
environment = var.environment
Expand All @@ -25,7 +25,7 @@ module "labels" {
# type specific features.
module "s3_bucket" {
source = "clouddrove/s3/aws"
version = "0.15.1"
version = "1.3.0"

name = var.s3_bucket_name
environment = var.environment
Expand All @@ -44,7 +44,7 @@ module "s3_bucket" {

module "s3_bucket_logging" {
source = "clouddrove/s3/aws"
version = "0.15.1"
version = "1.3.0"

name = format("%s-logging-bucket", var.s3_bucket_name)
environment = var.environment
Expand Down Expand Up @@ -184,7 +184,7 @@ data "aws_iam_policy_document" "cloudwatch_delivery_policy" {

module "kms_key" {
source = "clouddrove/kms/aws"
version = "0.15.0"
version = "1.3.0"

name = var.name
environment = var.environment
Expand Down
4 changes: 2 additions & 2 deletions modules/cloudtrail/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
8 changes: 4 additions & 4 deletions modules/config/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data "aws_region" "current" {}
# naming convention
module "labels" {
source = "clouddrove/labels/aws"
version = "0.15.0"
version = "1.3.0"

name = var.name
environment = var.environment
Expand Down Expand Up @@ -38,7 +38,7 @@ data "template_file" "aws_config_acm_certificate_expiration" {

module "config_lambda" {
source = "clouddrove/lambda/aws"
version = "0.15.0"
version = "1.3.0"

name = "config-lambda"
environment = var.environment
Expand Down Expand Up @@ -82,7 +82,7 @@ module "config_lambda" {
#Description : Provides an SNS topic resource
module "sns" {
source = "clouddrove/sns/aws"
version = "0.15.0"
version = "1.3.0"

name = "alarm-sns"
environment = var.environment
Expand All @@ -101,7 +101,7 @@ module "sns" {
# type specific features.
module "s3_bucket" {
source = "clouddrove/s3/aws"
version = "0.15.1"
version = "1.3.0"

name = var.config_s3_bucket_name
environment = var.environment
Expand Down
4 changes: 2 additions & 2 deletions modules/config/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/ebs/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/guardduty/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ data "aws_caller_identity" "current" {}

module "labels" {
source = "clouddrove/labels/aws"
version = "0.15.0"
version = "1.3.0"

name = var.name
environment = var.environment
Expand Down Expand Up @@ -122,7 +122,7 @@ resource "aws_cloudwatch_event_target" "default" {

module "slack-lambda" {
source = "clouddrove/lambda/aws"
version = "0.15.0"
version = "1.3.0"

name = format("%s-slack-lambda", module.labels.id)
environment = var.environment
Expand Down
4 changes: 2 additions & 2 deletions modules/guardduty/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
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 modules/iam/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
6 changes: 3 additions & 3 deletions modules/iam/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
}
4 changes: 2 additions & 2 deletions modules/inspector/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#Description : Terraform module to create consistent naming for multiple names.
module "labels" {
source = "clouddrove/labels/aws"
version = "0.15.0"
version = "1.3.0"

name = var.name
environment = var.environment
Expand Down Expand Up @@ -69,7 +69,7 @@ resource "aws_cloudwatch_event_target" "default" {
#Description : Creating a lambda function for assessment run.
module "lambda" {
source = "clouddrove/lambda/aws"
version = "0.15.0"
version = "1.3.0"

name = var.name
environment = var.environment
Expand Down
4 changes: 2 additions & 2 deletions modules/inspector/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
Loading

0 comments on commit 07b8ea8

Please sign in to comment.