我想删除使用 terraform 创建的非空 s3 存储桶。我也使用了force_destroy=true选项,但我仍然明白
BucketNotEmpty: The bucket you tried to delete is not empty
status code: 409, request id: xxxx, host id: xxxxxxx
Run Code Online (Sandbox Code Playgroud)
存储桶也是使用force_destroy选项创建的:
resource "aws_s3_bucket" "pipelineartifactstore" {
bucket = "${var.prefix}-${var.namespace}-${var.stage}-pipeline-artifactstore"
acl = "private"
force_destroy = true
server_side_encryption_configuration {
rule {
apply_server_side_encryption_by_default {
sse_algorithm = "AES256"
}
}
}
tags = var.default_tags
}
Run Code Online (Sandbox Code Playgroud) 我可以在同一目录中保存多个 docker-compose.yml 文件吗?例如
我想要带有一些服务的 docker-compose-1.yml 和带有一些其他服务的 docker-compose-2.yml。是否有任何要求具有特定的文件名以及用于启动它的命令是什么?
docker-compose up --build -f docker-compose-1.yml ??
Run Code Online (Sandbox Code Playgroud)
这导致
ERROR:
Can't find a suitable configuration file in this directory or any
parent. Are you in the right directory?
Supported filenames: docker-compose.yml, docker-compose.yaml
Run Code Online (Sandbox Code Playgroud)