|
@@ -13,7 +13,7 @@ locals {
|
|
# working directory, into a temporary folder, and execute your Terraform commands in that folder.
|
|
# working directory, into a temporary folder, and execute your Terraform commands in that folder.
|
|
terraform {
|
|
terraform {
|
|
# Double slash is intentional and required to show root of modules
|
|
# Double slash is intentional and required to show root of modules
|
|
- source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/codebuild_ecr_generic?ref=v1.10.5"
|
|
|
|
|
|
+ source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/codebuild_artifact?ref=v1.10.5"
|
|
}
|
|
}
|
|
|
|
|
|
dependency "codebuild-ecr-base" {
|
|
dependency "codebuild-ecr-base" {
|
|
@@ -28,20 +28,20 @@ generate "github-provider" {
|
|
terraform {
|
|
terraform {
|
|
required_providers {
|
|
required_providers {
|
|
github = {
|
|
github = {
|
|
- source = "hashicorp/github"
|
|
|
|
- version = "4.1.0"
|
|
|
|
|
|
+ source = "integrations/github"
|
|
|
|
+ version = "4.2.0"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#Provider block for Github engineering.
|
|
#Provider block for Github engineering.
|
|
provider "github" {
|
|
provider "github" {
|
|
- version = "~> 4.1.0"
|
|
|
|
|
|
+ version = "~> 4.2.0"
|
|
organization = "mdr-engineering"
|
|
organization = "mdr-engineering"
|
|
base_url = "https://github.mdr.defpoint.com/"
|
|
base_url = "https://github.mdr.defpoint.com/"
|
|
}
|
|
}
|
|
#Provider block for Github MDR Content.
|
|
#Provider block for Github MDR Content.
|
|
#provider "github" {
|
|
#provider "github" {
|
|
-# version = "~> 4.1.0"
|
|
|
|
|
|
+# version = "~> 4.2.0"
|
|
# organization = "MDR-Content"
|
|
# organization = "MDR-Content"
|
|
# base_url = "https://github.mdr.defpoint.com/"
|
|
# base_url = "https://github.mdr.defpoint.com/"
|
|
#}
|
|
#}
|
|
@@ -59,7 +59,7 @@ inputs = {
|
|
# (via the `inputs` section of the root `terragrunt.hcl`). However, modules
|
|
# (via the `inputs` section of the root `terragrunt.hcl`). However, modules
|
|
# will be more flexible if you specify particular input values.
|
|
# will be more flexible if you specify particular input values.
|
|
tags = {
|
|
tags = {
|
|
- Purpose = "Build Sample RPM with Codebuild"
|
|
|
|
|
|
+ Purpose = "Build RPM with Codebuild"
|
|
Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/"
|
|
Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/"
|
|
}
|
|
}
|
|
name = "collectd-rpm"
|
|
name = "collectd-rpm"
|
|
@@ -68,6 +68,5 @@ inputs = {
|
|
#codebuild_image = "aws/codebuild/amazonlinux2-x86_64-standard:3.0"
|
|
#codebuild_image = "aws/codebuild/amazonlinux2-x86_64-standard:3.0"
|
|
#codebuild_image = dependency.codebuild-ecr-base.outputs.codebuild_image_centos7
|
|
#codebuild_image = dependency.codebuild-ecr-base.outputs.codebuild_image_centos7
|
|
codebuild_image = dependency.codebuild-ecr-base.outputs.codebuild_image_rhel7
|
|
codebuild_image = dependency.codebuild-ecr-base.outputs.codebuild_image_rhel7
|
|
- #artifact_s3_bucket = ""
|
|
|
|
artifact_s3_bucket = dependency.codebuild-ecr-base.outputs.artifact_s3_bucket
|
|
artifact_s3_bucket = dependency.codebuild-ecr-base.outputs.artifact_s3_bucket
|
|
}
|
|
}
|