Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
HuyPhanNguyen committed Dec 5, 2024
1 parent f9efe8f commit 8ff4bde
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/resources/deployment_freeze.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

<!-- schema generated by tfplugindocs -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 8ff4bde

Please sign in to comment.