[英]CodePipline Terrafrom || Action configuration for action 'Deploy' contains unknown configuration 'DeploymentGroup'
I'm writing AWS CodePipeLine using Terraform. While defining stage for CodeDeploy as below, I get error:我正在使用 Terraform 编写 AWS CodePipeLine。在如下定义 CodeDeploy 阶段时,出现错误:
Action configuration for action 'Deploy' contains unknown configuration 'DeploymentGroup'操作“Deploy”的操作配置包含未知配置“DeploymentGroup”
stage {
name = "Deploy"
action {
name = "Deploy"
category = "Deploy"
owner = "AWS"
provider = "CodeDeploy"
version = "1"
input_artifacts = ["SourceArtifact"]
configuration = {
ApplicationName = "windowsappdeployment"
DeploymentGroup = "windowsapp"
}
}
}
I checked documentation on Terraform but i didn't find anything related to configuration for CodeDeploy provider.我检查了 Terraform 上的文档,但没有找到与 CodeDeploy 提供程序配置相关的任何内容。
I think configuration parameter "DeploymentGroup" is not correct here.我认为配置参数“DeploymentGroup”在这里不正确。 What should I mention instead of DeploymentGroup.我应该提到什么而不是 DeploymentGroup。
It should probably be DeploymentGroupName
instead of "DeploymentGroup".它可能应该是DeploymentGroupName
而不是“DeploymentGroup”。
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/codepipeline links to https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements which mentions ApplicationName
and DeploymentGroupName
for CodeDeploy
. 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.