Skip to content

Commit

Permalink
chore(deps): update terraform cloudposse/cicd/aws to v0.19.1 (#65)
Browse files Browse the repository at this point in the history
* chore(deps): update terraform cloudposse/cicd/aws to v0.19.1

* Auto Format

* Update examples_complete_test.go

* Update examples_complete_test.go

* Update main.tf

* Last one

* Last one

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: cloudpossebot <[email protected]>
Co-authored-by: nitrocode <[email protected]>
  • Loading branch information
3 people authored Jun 21, 2022
1 parent 774a1b8 commit 1dbfe5b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Available targets:

| Name | Source | Version |
|------|--------|---------|
| <a name="module_cicd"></a> [cicd](#module\_cicd) | cloudposse/cicd/aws | 0.12.0 |
| <a name="module_cicd"></a> [cicd](#module\_cicd) | cloudposse/cicd/aws | 0.19.1 |
| <a name="module_ecr"></a> [ecr](#module\_ecr) | cloudposse/ecr/aws | 0.34.0 |
| <a name="module_efs"></a> [efs](#module\_efs) | cloudposse/efs/aws | 0.32.7 |
| <a name="module_efs_backup"></a> [efs\_backup](#module\_efs\_backup) | cloudposse/backup/aws | 0.13.1 |
Expand Down
2 changes: 1 addition & 1 deletion docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

| Name | Source | Version |
|------|--------|---------|
| <a name="module_cicd"></a> [cicd](#module\_cicd) | cloudposse/cicd/aws | 0.12.0 |
| <a name="module_cicd"></a> [cicd](#module\_cicd) | cloudposse/cicd/aws | 0.19.1 |
| <a name="module_ecr"></a> [ecr](#module\_ecr) | cloudposse/ecr/aws | 0.34.0 |
| <a name="module_efs"></a> [efs](#module\_efs) | cloudposse/efs/aws | 0.32.7 |
| <a name="module_efs_backup"></a> [efs\_backup](#module\_efs\_backup) | cloudposse/backup/aws | 0.13.1 |
Expand Down
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ module "efs_backup" {
# CodePipeline/CodeBuild to build Jenkins Docker image, store it to a ECR repo, and deploy it to Elastic Beanstalk running Docker stack
module "cicd" {
source = "cloudposse/cicd/aws"
version = "0.12.0"
version = "0.19.1"
attributes = ["cicd"]
elastic_beanstalk_application_name = module.elastic_beanstalk_application.elastic_beanstalk_application_name
elastic_beanstalk_environment_name = module.elastic_beanstalk_environment.name
Expand Down Expand Up @@ -206,6 +206,7 @@ resource "aws_iam_policy" "slaves" {
path = "/"
description = "Policy for EC2 instance profile to allow launching Jenkins slaves"
policy = data.aws_iam_policy_document.slaves.json
tags = module.label_slaves.tags
}

# Attach Policy to the EC2 instance profile to allow Jenkins master to launch and control slave EC2 instances
Expand Down
4 changes: 2 additions & 2 deletions test/src/examples_complete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ func TestExamplesComplete(t *testing.T) {
// Run `terraform output` to get the value of an output variable
codebuildProjectName := terraform.Output(t, terraformOptions, "codebuild_project_name")
// Verify we're getting back the outputs we expect
assert.Equal(t, "eg-test-jenkins-build-"+randID+"-cicd", codebuildProjectName)
assert.Equal(t, "eg-test-jenkins-"+randID+"-cicd-build", codebuildProjectName)

// Run `terraform output` to get the value of an output variable
codebuildCacheBucketName := terraform.Output(t, terraformOptions, "codebuild_cache_bucket_name")
// Verify we're getting back the outputs we expect
assert.Contains(t, codebuildCacheBucketName, "eg-test-jenkins-build-"+randID+"-cicd")
assert.Contains(t, codebuildCacheBucketName, "eg-test-jenkins-"+randID+"-cicd-build")

// Run `terraform output` to get the value of an output variable
codepipelineId := terraform.Output(t, terraformOptions, "codepipeline_id")
Expand Down

0 comments on commit 1dbfe5b

Please sign in to comment.