Skip to content

Commit

Permalink
Interim, stashing
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm committed Jan 7, 2025
1 parent 0a79b92 commit dc1ddbe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
8 changes: 8 additions & 0 deletions terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ One you have run the script, those variables need to be loaded into GH for use i

By prefixing these with `TF_VAR_`, they are directly accessible in our Terraform scripts.

### for reference...

```
git add ../.github/workflows/deploy-to-dev.yaml ; git commit -m "Iterating GH Action $(date)" ; git push
gh workflow run --ref jadudm/tf-0103 --field environment=dev deploy-to-dev.yaml
```


### obtaining local credentials (remove)

Expand Down
2 changes: 1 addition & 1 deletion terraform/bin/get-s3-creds-from-cgov.bash
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export AWS_SECRET_ACCESS_KEY=$(echo "${S3_CREDENTIALS}" | jq -r '.credentials.se
export BUCKET_NAME=$(echo "${S3_CREDENTIALS}" | jq -r '.credentials.bucket')
export AWS_DEFAULT_REGION=$(echo "${S3_CREDENTIALS}" | jq -r '.credentials.region')

cf delete-service-key -f -w "${SERVICE_INSTANCE_NAME}" "${SERVICE_KEY_NAME}"
# cf delete-service-key -f -w "${SERVICE_INSTANCE_NAME}" "${SERVICE_KEY_NAME}"
9 changes: 1 addition & 8 deletions terraform/dev/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,7 @@ variable "aws_default_region" {
type = string
sensitive = true
}
# variable "aws_secret_access_key" {
# type = string
# sensitive = true
# }
# variable "aws_access_key_id" {
# type = string
# sensitive = true
# }

variable "bucket_name" {
type = string
sensitive = true
Expand Down

0 comments on commit dc1ddbe

Please sign in to comment.