Creating a Stack from DevOps
Create a stack in Resource Manager from a Terraform configuration stored in DevOps.
Ensure that your Terraform configuration is valid. See Terraform Configurations for Resource Manager and Authoring Configurations.
For information about DevOps, see DevOps.
The stack is created and its Stack details page opens.
If you selected Run apply, then Resource Manager runs the apply action on the new stack.
Use the
oci resource-manager stack create-stack-create-dev-ops-config-source-details
command and required parameters to create a stack from DevOps.oci resource-manager stack create-stack-create-dev-ops-config-source-details --compartment-id <compartment_OCID> --config-source-project-id <devops_project_OCID> --config-source-repository-id <devops_repository_OCID>
For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.
Use the CreateStack operation to create a stack from DevOps.
For an example of the
configSource
part of the request, see CreateDevOpsConfigSourceDetails.