Skip to content

Commit

Permalink
Merge pull request #777 from ministryofjustice/fix/6860-attribute-type
Browse files Browse the repository at this point in the history
Correct referencing to remote data outputs
  • Loading branch information
dms1981 authored May 14, 2024
2 parents 525cdb7 + 0e0c7c7 commit 03187a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Load and Configure Terraform
uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3.1.1
with:
terraform_version: 1.0.1
terraform_version: ~1.8
terraform_wrapper: false
- name: Terraform plan - example pipelines
run: |
Expand Down
2 changes: 1 addition & 1 deletion teams/example/linux_pipeline_vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ locals {
description = "Description here"
instance_types = ["t2.nano", "t3.micro"]
name = join("", [local.team_name, "_AmazonLinux2"])
security_group_ids = [data.terraform_remote_state.modernisation-platform-repo.outputs.image_builder_security_group_id]
security_group_ids = [data.terraform_remote_state.modernisation-platform-repo.outputs.image_builder_security_group_id.non_live_data]
subnet_id = data.terraform_remote_state.modernisation-platform-repo.outputs.non_live_private_subnet_ids[0]
terminate_on_fail = true
}
Expand Down
2 changes: 1 addition & 1 deletion teams/example/windows_pipeline_vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ locals {
description = "Description here"
instance_types = ["t2.nano", "t3.micro"]
name = join("", [local.team_name, "_WindowsServer2022"])
security_group_ids = [data.terraform_remote_state.modernisation-platform-repo.outputs.image_builder_security_group_id]
security_group_ids = [data.terraform_remote_state.modernisation-platform-repo.outputs.image_builder_security_group_id.non_live_data]
subnet_id = data.terraform_remote_state.modernisation-platform-repo.outputs.non_live_private_subnet_ids[0]
terminate_on_fail = true
}
Expand Down
2 changes: 1 addition & 1 deletion teams/example/windows_s3_test_pipeline_vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ locals {
description = "Description here"
instance_types = ["t3.medium"]
name = join("", [local.team_name, "_WindowsServer2022_s3_test"])
security_group_ids = [data.terraform_remote_state.modernisation-platform-repo.outputs.image_builder_security_group_id]
security_group_ids = [data.terraform_remote_state.modernisation-platform-repo.outputs.image_builder_security_group_id.non_live_data]
subnet_id = data.terraform_remote_state.modernisation-platform-repo.outputs.non_live_private_subnet_ids[0]
terminate_on_fail = true
}
Expand Down

0 comments on commit 03187a0

Please sign in to comment.