generated from oracle-devrel/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuildstage_deploy.tf
28 lines (20 loc) · 1.11 KB
/
buildstage_deploy.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## Copyright (c) 2022, Oracle and/or its affiliates.
## All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl
resource "oci_devops_build_pipeline_stage" "test_deploy_stage" {
depends_on = [oci_devops_build_pipeline_stage.test_deliver_artifact_stage]
#Required
build_pipeline_id = oci_devops_build_pipeline.test_build_pipeline.id
build_pipeline_stage_predecessor_collection {
#Required
items {
#Required
id = oci_devops_build_pipeline_stage.test_deliver_artifact_stage.id
}
}
build_pipeline_stage_type = var.build_pipeline_stage_deploy_stage_type
deploy_pipeline_id = oci_devops_deploy_pipeline.test_deploy_pipeline.id
display_name = var.deploy_stage_display_name
description = var.deploy_stage_description
is_pass_all_parameters_enabled = var.build_pipeline_stage_is_pass_all_parameters_enabled
defined_tags = { "${oci_identity_tag_namespace.ArchitectureCenterTagNamespace.name}.${oci_identity_tag.ArchitectureCenterTag.name}" = var.release }
}