简体   繁体   中英

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:

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"
      }

    }
  }

I checked documentation on Terraform but i didn't find anything related to configuration for CodeDeploy provider.

I think configuration parameter "DeploymentGroup" is not correct here. What should I mention instead of DeploymentGroup.

It should probably be DeploymentGroupName instead of "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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM