We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d71fc52 commit 3a3439bCopy full SHA for 3a3439b
codepipeline.tf
@@ -36,14 +36,8 @@ resource "aws_codepipeline" "codepipeline" {
36
provider = action.value["provider"]
37
input_artifacts = lookup(action.value, "input_artifacts", [])
38
output_artifacts = lookup(action.value, "output_artifacts", [])
39
- configuration = merge(
40
- lookup(action.value, "configuration", {}),
41
- action.value["provider"] == "GitHub" ? {
42
- ConnectionArn = var.codestar_connection_arn
43
- FullRepositoryId = "joeycloudio/${each.value.repo_name}"
44
- BranchName = "main"
45
- } : {}
46
-)
+ configuration = lookup(action.value, "configuration", {})
+
47
role_arn = lookup(action.value, "role_arn", null)
48
run_order = lookup(action.value, "run_order", null)
49
region = lookup(action.value, "region", data.aws_region.current.name)
0 commit comments