Skip to content

Commit 49cd21f

Browse files
committed
Fix ceph VS AWS S3 grafana terraform state handling
1 parent 4f61106 commit 49cd21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/monitoring/grafana/terraform/main.tf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ terraform {
1212
encrypt = false
1313
bucket = "{{ TF_GRAFANA_STATE_BACKEND_S3_BUCKET_NAME }}"
1414
region = "{{ TF_GRAFANA_STATE_BACKEND_AWS_REGION }}"
15-
{% if GRAFANA_TERRAFORM_STATE_BACKEND_S3_ENDPOINT %}
15+
{% if "amazonaws.com" not in GRAFANA_TERRAFORM_STATE_BACKEND_S3_ENDPOINT %}
1616
skip_credentials_validation = true
1717
skip_requesting_account_id = true
1818
skip_metadata_api_check = true

0 commit comments

Comments
 (0)