Action: yet_cloud_application_promote
Promotes an application: what runs in one stage goes to the next — staging to production.
Example Usage
action "yet_cloud_application_promote" "api" {
config {
application_id = yet_cloud_application.api.id
from_environment_id = yet_cloud_environment.staging.id
}
}
# Run it by hand, when staging looks right:
# terraform apply -invoke action.yet_cloud_application_promote.apiSchema
Required
application_id(String) The application.from_environment_id(String) The stage it goes from; what runs there goes to the stage after it.