Skip to content

Commit db5dac1

Browse files
committed
RUB-37816: format
1 parent 8465fbb commit db5dac1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

main.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,13 @@ resource "aws_grafana_workspace_api_key" "this" {
113113
################################################################################
114114
# Workspace Service Account
115115
################################################################################
116+
116117
resource "time_rotating" "servic_account_token" {
117118
for_each = { for k, v in var.workspace_service_account_tokens : k => v if var.create }
118119

119120
rotation_minutes = each.value.seconds_to_live / 60
120121
}
122+
121123
resource "aws_grafana_workspace_service_account" "this" {
122124
for_each = { for k, v in var.workspace_service_accounts : k => v if var.create }
123125

@@ -135,7 +137,7 @@ resource "aws_grafana_workspace_service_account_token" "this" {
135137
workspace_id = local.workspace_id
136138

137139
lifecycle {
138-
replace_triggered_by = [ time_rotating.servic_account_token[each.key] ]
140+
replace_triggered_by = [time_rotating.servic_account_token[each.key]]
139141
}
140142
}
141143

0 commit comments

Comments
 (0)