Skip to content

Commit c01278f

Browse files
committed
CCM-14325: Update default access token value
1 parent 33c3e94 commit c01278f

3 files changed

Lines changed: 2 additions & 18 deletions

File tree

infrastructure/terraform/components/dl/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ No requirements.
4040
| <a name="input_mesh_poll_schedule"></a> [mesh\_poll\_schedule](#input\_mesh\_poll\_schedule) | Schedule to poll MESH for messages | `string` | `"rate(5 minutes)"` | no |
4141
| <a name="input_metadata_refresh_schedule"></a> [metadata\_refresh\_schedule](#input\_metadata\_refresh\_schedule) | Schedule for refreshing reporting metadata. | `string` | `"cron(10 6-22 * * ? *)"` | no |
4242
| <a name="input_parent_acct_environment"></a> [parent\_acct\_environment](#input\_parent\_acct\_environment) | Name of the environment responsible for the acct resources used, affects things like DNS zone. Useful for named dev environments | `string` | `"main"` | no |
43-
| <a name="input_pdm_mock_access_token"></a> [pdm\_mock\_access\_token](#input\_pdm\_mock\_access\_token) | Mock access token for PDM API authentication (used in local/dev environments) | `string` | `"mock-pdm-token"` | no |
44-
| <a name="input_pdm_use_non_mock_token"></a> [pdm\_use\_non\_mock\_token](#input\_pdm\_use\_non\_mock\_token) | Whether to use the shared APIM access token from SSM (/component/environment/apim/access\_token) instead of the mock token | `bool` | `false` | no |
4543
| <a name="input_pii_data_retention_policy_days"></a> [pii\_data\_retention\_policy\_days](#input\_pii\_data\_retention\_policy\_days) | The number of days for data retention policy for PII | `number` | `534` | no |
4644
| <a name="input_project"></a> [project](#input\_project) | The name of the tfscaffold project | `string` | n/a | yes |
4745
| <a name="input_queue_batch_size"></a> [queue\_batch\_size](#input\_queue\_batch\_size) | maximum number of queue items to process | `number` | `10` | no |

infrastructure/terraform/components/dl/ssm_parameter_access_token.tf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ resource "aws_ssm_parameter" "access_token" {
22
name = local.apim_access_token_ssm_parameter_name
33
description = "Access token for APIM"
44
type = "SecureString"
5-
value = jsonencode({
6-
tokens = []
7-
})
8-
tags = merge(local.default_tags, { Backup = "true" })
5+
value = ""
6+
tags = merge(local.default_tags, { Backup = "true" })
97

108
lifecycle {
119
ignore_changes = [

infrastructure/terraform/components/dl/variables.tf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,6 @@ variable "ttl_poll_schedule" {
122122
default = "rate(10 minutes)" # Every 10 minutes
123123
}
124124

125-
variable "pdm_mock_access_token" {
126-
type = string
127-
description = "Mock access token for PDM API authentication (used in local/dev environments)"
128-
default = "mock-pdm-token"
129-
}
130-
131-
variable "pdm_use_non_mock_token" {
132-
type = bool
133-
description = "Whether to use the shared APIM access token from SSM (/component/environment/apim/access_token) instead of the mock token"
134-
default = false
135-
}
136-
137125
variable "apim_base_url" {
138126
type = string
139127
description = "The URL used to send requests to PDM"

0 commit comments

Comments
 (0)