代码管道地形 ||操作 'Deploy' 的操作配置包含未知配置 'DeploymentGroup'
CodePipline Terrafrom || Action configuration for action 'Deploy' contains unknown configuration 'DeploymentGroup'
我正在使用 Terraform 编写 AWS CodePipeLine。如下定义 CodeDeploy 阶段时,出现错误:
Action configuration for action 'Deploy' contains unknown configuration '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 links to https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements 其中提到 ApplicationName
和 DeploymentGroupName
代表 CodeDeploy
.
我正在使用 Terraform 编写 AWS CodePipeLine。如下定义 CodeDeploy 阶段时,出现错误:
Action configuration for action 'Deploy' contains unknown configuration '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 links to https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements 其中提到 ApplicationName
和 DeploymentGroupName
代表 CodeDeploy
.