alphagov / govuk-infrastructure

Terraform turnup automation for the EKS Kubernetes clusters that host GOV.UK. See https://github.com/alphagov/govuk-helm-charts for application config.
MIT License
138 stars 24 forks source link

Refactor variable into local variable for opensearch snapshots. #1357

Closed ianhowell-gds closed 2 months ago

ianhowell-gds commented 2 months ago

Having the variable in tfc-configuration, the ARN colons are replaced by equals signs by the variable-set module. This change makes it all a bit clean and tidier by having all code together. modified: iam.tf new file: locals.tf modified: variables.tf

Trello Card

https://trello.com/c/zIiHKPHx/1348-configure-daily-data-sync-of-opensearch-data-from-production-to-staging-and-integration

sengi commented 2 months ago

This seems like something that shouldn't need to be worked around 🤔 cc @samsimpson1 in case you have any ideas