[英]AWS Fargate deploy: “Invalid action configuration The AWS ECS container ***** does not exist”
[英]CodePipline Terrafrom || Action configuration for action 'Deploy' contains unknown configuration 'DeploymentGroup'
我正在使用 Terraform 编写 AWS CodePipeLine。在如下定义 CodeDeploy 阶段时,出现错误:
操作“Deploy”的操作配置包含未知配置“DeploymentGroup”
stage {
name = "Deploy"
action {
name = "Deploy"
category = "Deploy"
owner = "AWS"
provider = "CodeDeploy"
version = "1"
input_artifacts = ["SourceArtifact"]
configuration = {
ApplicationName = "windowsappdeployment"
DeploymentGroup = "windowsapp"
}
}
}
我检查了 Terraform 上的文档,但没有找到与 CodeDeploy 提供程序配置相关的任何内容。
我认为配置参数“DeploymentGroup”在这里不正确。 我应该提到什么而不是 DeploymentGroup。
它可能应该是DeploymentGroupName
而不是“DeploymentGroup”。
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/codepipeline链接到https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html #action-requirements提到了CodeDeploy
的ApplicationName
和DeploymentGroupName
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.