Closed vini-mw closed 2 months ago
@vini-mw - Can you provide us the terraform configuration you use for this service so we can see the shape?
@rocktavious nothing really unusual here, just the basics.
resource "opslevel_service" "this" {
for_each = local.apps
name = each.value.name
lifecycle_alias = data.opslevel_lifecycle.motorway.alias
tier_alias = data.opslevel_tier.motorway.alias
owner = contains(local.squad_names, each.value.owner) ? opslevel_team.motorway[each.value.owner].id : null
tags = each.value.type != "workload" ? compact(
[
"type:${each.value.type}",
"aws_account:${each.value.account}",
try("optimized:${each.value.optimized}", ""),
try("architecture:${each.value.architecture}", "")
]
) : []
depends_on = [opslevel_team.motorway]
lifecycle {
ignore_changes = [
framework, lifecycle_alias, tier_alias, aliases,
api_document_path, product, preferred_api_document_source,
]
}
}
@vini-mw Thank you for reporting this issue! 🎉
This issue with service tags has been fixed and will be included in today's v1.0.1
release
provider version == "1.0.0" tf version == "1.5.7"
i got this error for 80+ services, where all of them are trying to update the list of
tags
only, nothing else.Error:
i can confirm that as the error message suggests, the tags for the services in question seem updated, however, the tf run always fails.