Updates the specified stack object.

PUT {{baseUrl}}/stacks/:stackId

Updates the specified stack object. Use UpdateStack when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see To update a stack and To edit a stack.

Request Body

{"configSource"=>{"configSourceType"=>"sint Duis adipisicing magna", "workingDirectory"=>"voluptate ad"}, "description"=>"Excepteur eiusmod Ut in", "displayName"=>"Lorem non sit", "terraformVersion"=>"labore ea cupidatat occaecat"}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a
particular request, please provide the request ID.
if-matchstringFor optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"compartmentId":"laboris et","configSource":{"configSourceType":"GIT_CONFIG_SOURCE","workingDirectory":"dolor proident"},"definedTags":{},"description":"adipisicing eiusmod commodo","displayName":"sunt adipisicing dolor eu","freeformTags":{},"id":"exercitation in a","lifecycleState":"FAILED","stackDriftStatus":"IN_SYNC","terraformVersion":"aliquip quis minim","timeCreated":"1997-06-27T17:49:02.930Z","timeDriftLastChecked":"1948-08-01T08:01:48.417Z","variables":{}}