Skip to content

Commit 2b25596

Browse files
authored
Merge pull request #374 from alphagov/auth-1389-remove-paas-terraform
AUTH-1389: Remove Cloudfoundry provider from Terraform
2 parents aff14b6 + 0bca2f2 commit 2b25596

5 files changed

Lines changed: 2 additions & 53 deletions

File tree

ci/tasks/deploy-account-management.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ params:
1313
DNS_STATE_KEY: ((dns-state-key))
1414
STATE_BUCKET: digital-identity-dev-tfstate
1515
DEPLOY_ENVIRONMENT: build
16-
CF_USERNAME: ((cf-username))
17-
CF_PASSWORD: ((cf-password))
18-
CF_ORG_NAME: ((cf-org-name))
1916
GTM_ID: ((build-gtm-id))
2017
PUBLISHING_API_URL: ((build-gov-accounts-api-url))
2118
PUBLISHING_API_URL_TOKEN: ((build-gov-accounts-api-token))
@@ -49,9 +46,6 @@ run:
4946
5047
terraform apply -auto-approve \
5148
-var "deployer_role_arn=${DEPLOYER_ROLE_ARN}" \
52-
-var "cf_username=${CF_USERNAME}" \
53-
-var "cf_password=${CF_PASSWORD}" \
54-
-var "cf_org_name=${CF_ORG_NAME}" \
5549
-var "dns_state_bucket=${DNS_STATE_BUCKET}" \
5650
-var "dns_state_key=${DNS_STATE_KEY}" \
5751
-var "dns_state_role=${DNS_DEPLOYER_ROLE_ARN}" \

ci/terraform/.terraform.lock.hcl

Lines changed: 2 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ci/terraform/sandpit.tfvars

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
cf_org_name = "gds-digital-identity-authentication"
21
account_management_fqdn = "sandpit.auth.ida.digital.cabinet-office.gov.uk"
32
oidc_api_fqdn = "api.sandpit.auth.ida.digital.cabinet-office.gov.uk"
43
frontend_fqdn = "signin.sandpit.auth.ida.digital.cabinet-office.gov.uk"

ci/terraform/site.tf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ terraform {
1010
source = "hashicorp/random"
1111
version = ">= 3.1.0"
1212
}
13-
cloudfoundry = {
14-
source = "cloudfoundry-community/cloudfoundry"
15-
version = "0.14.2"
16-
}
1713
}
1814

1915
backend "s3" {
@@ -28,13 +24,6 @@ provider "aws" {
2824
}
2925
}
3026

31-
provider "cloudfoundry" {
32-
api_url = "https://api.london.cloud.service.gov.uk"
33-
user = var.cf_username
34-
password = var.cf_password
35-
app_logs_max = 250
36-
}
37-
3827
provider "random" {}
3928

4029
data "aws_availability_zones" "available" {}

ci/terraform/variables.tf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,6 @@ variable "deployer_role_arn" {
66
default = null
77
}
88

9-
variable "cf_username" {
10-
description = "deployer username"
11-
}
12-
13-
variable "cf_password" {
14-
description = "deployer password org"
15-
}
16-
17-
variable "cf_org_name" {
18-
description = "target org"
19-
}
20-
219
variable "dns_state_bucket" {
2210
default = ""
2311
}

0 commit comments

Comments
 (0)