File tree Expand file tree Collapse file tree 13 files changed +0
-294
lines changed
terraform/account-wide-infrastructure Expand file tree Collapse file tree 13 files changed +0
-294
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ data "aws_region" "current" {}
22
33data "aws_caller_identity" "current" {}
44
5- data "aws_secretsmanager_secret_version" "identities_account_id" {
6- secret_id = aws_secretsmanager_secret. identities_account_id . name
7- }
8-
95data "aws_secretsmanager_secret_version" "backup_destination_parameters" {
106 secret_id = aws_secretsmanager_secret. backup_destination_parameters . name
117}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- resource "aws_secretsmanager_secret" "identities_account_id" {
2- name = " ${ local . prefix } --nhs-identities-account-id"
3- }
4-
51resource "aws_secretsmanager_secret" "backup_destination_parameters" {
62 name = " ${ local . prefix } --backup-destination-parameters"
73 description = " Parameters used to configure the backup destination"
Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ data "aws_s3_bucket" "truststore" {
1818 bucket = " ${ local . project } --truststore"
1919}
2020
21- data "aws_secretsmanager_secret_version" "identities_account_id" {
22- secret_id = aws_secretsmanager_secret. identities_account_id . name
23- }
24-
2521data "aws_secretsmanager_secret" "prod_account_id" {
2622 name = " ${ local . project } --mgmt--prod-account-id"
2723}
Original file line number Diff line number Diff line change 1- resource "aws_iam_role" "developer_role" {
2- name = " NHSDDeveloperRole"
3- assume_role_policy = jsonencode ({
4- Version : " 2012-10-17" ,
5- Statement : [
6- {
7- Action : " sts:AssumeRole" ,
8- Principal : {
9- AWS : " arn:aws:iam::${ data . aws_secretsmanager_secret_version . identities_account_id . secret_string } :root"
10- },
11- Effect : " Allow"
12- }
13- ]
14- })
15- }
16-
171module "developer_policy" {
182 source = " ../modules/role-policy"
193 name = " ${ local . prefix } --developer-policy"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ data "aws_region" "current" {}
22
33data "aws_caller_identity" "current" {}
44
5- data "aws_secretsmanager_secret_version" "identities_account_id" {
6- secret_id = aws_secretsmanager_secret. identities_account_id . name
7- }
8-
95data "aws_secretsmanager_secret" "emails" {
106 name = " ${ local . prefix } -emails"
117}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- resource "aws_secretsmanager_secret" "identities_account_id" {
2- name = " ${ local . prefix } --nhs-identities-account-id"
3- }
4-
51resource "aws_secretsmanager_secret" "prod_smoke_test_apigee_app" {
62 name = " ${ local . prefix } --prod--apigee-app--smoke-test"
73 description = " APIGEE App used to run Smoke Tests against the PROD environment"
Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ data "aws_region" "current" {}
22
33data "aws_caller_identity" "current" {}
44
5- data "aws_secretsmanager_secret_version" "identities_account_id" {
6- secret_id = aws_secretsmanager_secret. identities_account_id . name
7- }
8-
95data "aws_secretsmanager_secret" "emails" {
106 name = " ${ local . prefix } -emails"
117}
You can’t perform that action at this time.
0 commit comments