-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevops_deploy.tf
38 lines (29 loc) · 1.4 KB
/
devops_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
29
30
31
32
33
34
resource "oci_devops_deploy_pipeline" "FoggyKitchenDevOpsProjectDeployPipeline" {
provider = oci.targetregion
project_id = oci_devops_project.FoggyKitchenDevOpsProject.id
display_name = "FoggyKitchenDevOpsProjectDeployPipeline"
description = "FoggyKitchen DevOps Project Deploy Pipeline"
deploy_pipeline_parameters {
items {
name = "BUILDRUN_HASH"
default_value = ""
description = ""
}
}
}
resource "oci_devops_deploy_stage" "FoggyKitchenDevOpsProjectDeployHelmStage" {
provider = oci.targetregion
deploy_pipeline_id = oci_devops_deploy_pipeline.FoggyKitchenDevOpsProjectDeployPipeline.id
deploy_stage_predecessor_collection {
items {
id = oci_devops_deploy_pipeline.FoggyKitchenDevOpsProjectDeployPipeline.id
}
}
display_name = "FoggyKitchenDevOpsProjectDeployHelmStage"
description = "FoggyKitchen DevOps Project Deploy Helm Stage"
deploy_stage_type = "OKE_HELM_CHART_DEPLOYMENT"
release_name = var.release_name
values_artifact_ids = [oci_devops_deploy_artifact.FoggyKitchenDevOpsDeployValuesYamlArtifact.id]
helm_chart_deploy_artifact_id = oci_devops_deploy_artifact.FoggyKitchenDevOpsProjectDeployHelmArtifact.id
oke_cluster_deploy_environment_id = oci_devops_deploy_environment.FoggyKitchenDevOpsOKEEnvironment.id
}