Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated attribute #24

Merged
merged 2 commits into from
Dec 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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