ROS stack notifications disabled
이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Id: 9ef08939-ea40-489c-8851-667870b2ef50
Cloud Provider: Alicloud
Platform: Terraform
Severity: Low
Category: Observability
Learn More
Description
The alicloud_ros_stack resource must include the notification_urls attribute with at least one URL to receive stack-related events. Without a defined, non-empty notification_urls, the stack will not receive lifecycle notifications such as create, update, or rollback.
Compliant Code Examples
resource "alicloud_ros_stack" "example" {
stack_name = "tf-testaccstack"
notification_urls = ["oss://ros/stack-notification/demo"]
template_body = <<EOF
{
"ROSTemplateFormatVersion": "2015-09-01"
}
EOF
stack_policy_body = <<EOF
{
"Statement": [{
"Action": "Update:Delete",
"Resource": "*",
"Effect": "Allow",
"Principal": "*"
}]
}
EOF
}
Non-Compliant Code Examples
resource "alicloud_ros_stack" "example" {
stack_name = "tf-testaccstack"
template_body = <<EOF
{
"ROSTemplateFormatVersion": "2015-09-01"
}
EOF
stack_policy_body = <<EOF
{
"Statement": [{
"Action": "Update:Delete",
"Resource": "*",
"Effect": "Allow",
"Principal": "*"
}]
}
EOF
}
resource "alicloud_ros_stack" "example" {
stack_name = "tf-testaccstack"
notification_urls = []
template_body = <<EOF
{
"ROSTemplateFormatVersion": "2015-09-01"
}
EOF
stack_policy_body = <<EOF
{
"Statement": [{
"Action": "Update:Delete",
"Resource": "*",
"Effect": "Allow",
"Principal": "*"
}]
}
EOF
}