terraform-provider-alicloud
terraform-provider-alicloud copied to clipboard
alicloud_cs_managed_kubernetes sls_project_name in logtail-ds in addons
Terraform Version
terraform version 1.2.4 aliyun/alicloud ver 1.182.0
Affected Resource(s)
Please list the resources as a list, for example: alicloud_cs_managed_kubernetes
Terraform Configuration Files
variable "cluster_addons" { type = list(object({ name = string config = string })) default = [ { "name" = "logtail-ds", "config" = "{"IngressDashboardEnabled":"true","sls_project_name":"project"}", }, ] }
Expected Behavior
cluster should create the logtail-ds with the right project , but instead its create it using the generic k8s-log
Actual Behavior
cluster still create a sls project in format k8s-log-
@EyalZafrani when you provision ack cluster, you can specify sls project to be used for the control plane logs https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/cs_managed_kubernetes#control_plane_log_project.
the clsuter addons are used for apps logging
Hi the problem is with logtail-ds its ignoring the project provided to the addon & during creation