create_iam_role = false iam_role_arn = "arn:aws:iam::xxxxxxxx:role/eks_cluster_role_cloudsway" providers = { aws = aws.ap-northeast-2 } cluster_endpoint_public_access = true create_kms_key = false create_cloudwatch_log_group = false cluster_encryption_config = {} cluster_addons = {...
我们将通过 STS 去创建包含 CloudWatch 权限的角色,角色会附加到由 AutoScalingGroup 创建的 ShardingSphere-Proxy 实例上。 ShardingSphere-Proxy 的运行日志会被 CloudWatch Agent 采集到 CloudWatch 上。默认会创建名为shardingsphere-proxy.log的 log_group。 CloudWatch 的具体配置见[5]。 resource "aws_iam_role"...
我们将通过 STS 去创建包含 CloudWatch 权限的角色,角色会附加到由 AutoScalingGroup 创建的 ShardingSphere-Proxy 实例上,其运行日志会被 CloudWatch Agent 采集到 CloudWatch 上。 默认会创建名为 shardingsphere-proxy.log 的 log_group,CloudWatch 的具体配置见 [5]。 resource "aws_iam_role" "sts" { name =...
resource"aws_cloudwatch_log_group""main"{name="my_va_loggroup_for_testing"retention_in_days=10tags=var.tags} 05-variables.tf I'd like to talk about Google OIDC variables before we get into Terraform variables for our resources. I couldn't find any documentation about the correct set...
log_level = "INFO" } worker_logs = { enabled = true log_level = "INFO" } } 笔记!保留 CloudWatch 日志会产生成本,因此请查看这些设置并确保密切关注成本并根据需要进行调整。 在下一部分中,您可以根据需要定义一些自定义 Apache Airflow 配置参数。您可以查看 MWAA 文档以了解更多信息,但您可以使用这些...
create_cloudwatch_log_group Determines whether a log group is created by this module for the cluster logs. If not, AWS will automatically create one if logging is enabled bool true no create_cluster_primary_security_group_tags Indicates whether or not to tag the cluster's primary security group...
"logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents" ], "Resource": "arn:aws:logs:*:*:*" }, { "Effect": "Allow", "Action": [ "ec2:Start*", "ec2:Stop*", "ec2:DescribeInstances*" ], "Resource": "*" }
进入S3、DynamoDB,以及CloudWatch的“/aws/lambda/iotdemo_lambda_test”的Log Group可以看到相关信息纪录和log信息。 总结 本博文介绍如何使用Terraform来对Amazon IoT进行规则操作的自动化部署。详细介绍了如何利用Amazon IoT规则操作在DynamoDB,通过Kinesis Data Firehose在S3来存储数据,以及使用Lambda进行数据处理...
create_cloudwatch_log_group Determines whether a log group is created by this module for the cluster logs. If not, AWS will automatically create one if logging is enabled bool true no create_task_exec_iam_role Determines whether the ECS task definition IAM role should be created bool false no...
Terraform Core Version 1.6.1 AWS Provider Version 5.53.0 Affected Resource(s) aws_cloudwatch_log_group Expected Behavior The tags object should contain a list of the assigned tags on the resource. The retention days returns 0 Actual Beha...