diff --git a/docs/resources/deployment_freeze.md b/docs/resources/deployment_freeze.md index 9f018813..70813e81 100644 --- a/docs/resources/deployment_freeze.md +++ b/docs/resources/deployment_freeze.md @@ -51,6 +51,13 @@ resource "octopusdeploy_deployment_freeze_project" "project_freeze" { project_id = data.octopusdeploy_projects.second_project.projects[0].id environment_ids = [ data.octopusdeploy_environments.default_environment.environments[0].id ] } + +resource "octopusdeploy_deployment_freeze_tenant" "tenant_freeze" { + deploymentfreeze_id = octopusdeploy_deployment_freeze.freeze.id + tenant_id = "Tenants-1" + project_id = "Projects-1" + environment_id = "Environments-1" +} ``` diff --git a/examples/resources/octopusdeploy_deployment_freeze/resource.tf b/examples/resources/octopusdeploy_deployment_freeze/resource.tf index d868261c..291928c7 100644 --- a/examples/resources/octopusdeploy_deployment_freeze/resource.tf +++ b/examples/resources/octopusdeploy_deployment_freeze/resource.tf @@ -36,3 +36,10 @@ resource "octopusdeploy_deployment_freeze_project" "project_freeze" { project_id = data.octopusdeploy_projects.second_project.projects[0].id environment_ids = [ data.octopusdeploy_environments.default_environment.environments[0].id ] } + +resource "octopusdeploy_deployment_freeze_tenant" "tenant_freeze" { + deploymentfreeze_id = octopusdeploy_deployment_freeze.freeze.id + tenant_id = "Tenants-1" + project_id = "Projects-1" + environment_id = "Environments-1" +} \ No newline at end of file