Skip to content

Commit

Permalink
Merge pull request #50 from ministryofjustice/remove-deprecation
Browse files Browse the repository at this point in the history
Remove deprecated attribute
  • Loading branch information
julialawrence authored Dec 13, 2022
2 parents 6bd40c6 + 59c3f27 commit f54cdb9
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions test/unit-test/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,23 @@ provider "aws" {

# AWS provider for the testing-ci user (testing-test account), to get things from there if required
provider "aws" {
alias = "testing-ci-user"
region = "eu-west-2"
skip_get_ec2_platforms = true
alias = "testing-ci-user"
region = "eu-west-2"
}

# AWS provider for core-vpc-<environment>, to share VPCs into this account
provider "aws" {
alias = "core-vpc"
region = "eu-west-2"
skip_get_ec2_platforms = true
alias = "core-vpc"
region = "eu-west-2"
assume_role {
role_arn = "arn:aws:iam::${local.environment_management.account_ids[local.provider_name]}:role/member-delegation-${local.vpc_name}-${local.environment}"
}
}

# AWS provider for network services to enable dns entries for certificate validation to be created
provider "aws" {
alias = "core-network-services"
region = "eu-west-2"
skip_get_ec2_platforms = true
alias = "core-network-services"
region = "eu-west-2"
assume_role {
role_arn = "arn:aws:iam::${local.environment_management.account_ids["core-network-services-production"]}:role/modify-dns-records"
}
Expand Down

0 comments on commit f54cdb9

Please sign in to comment.