简体   繁体   English

代码管道 Terrafrom || 操作“Deploy”的操作配置包含未知配置“DeploymentGroup”

[英]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提到了CodeDeployApplicationNameDeploymentGroupName

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 AWS Fargate部署:“无效的操作配置AWS ECS容器*****不存在” - AWS Fargate deploy: “Invalid action configuration The AWS ECS container ***** does not exist” AWS 代码管道操作是否有超时配置? - Is there a timeout configuration for AWS code pipeline action? AWS CodePipeline中CodeDeployToECS的每个操作配置属性指的是什么? - What does each action configuration property of CodeDeployToECS refers to in AWS CodePipeline? 未找到无效的操作配置 BuildArtif - AWS 代码管道 - Invalid action configuration BuildArtif not found - AWS code pipeline 无效的操作配置:尝试读取任务定义工件文件时发生异常 - Invalid action configuration: Exception while trying to read the task definition artifact file AWS CodePipeline GitHub 源操作和 ECS 部署操作 - AWS CodePipeline GitHub Source Action and ECS Deploy Action 操作“部署”中的Terraform CodePipeline ActionType不可用 - Terraform CodePipeline ActionType in action 'Deploy' is not available CORS s3 中的配置:未知字段 AllowedHeaders - CORS Configuration in s3: Unknown field AllowedHeaders awscdk - awswaf - 日志配置无法部署 - awscdk - awswaf - logging configuration fails to deploy AWS ElasticBeanstalk Terraform DisableIMDSv1 未知配置设置 - AWS ElasticBeanstalk Terraform DisableIMDSv1 Unknown Configuration Setting
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM