Skip to content

Commit

Permalink
Update nginxaas provider docs
Browse files Browse the repository at this point in the history
- Updates to docs to remove deprecated properties.
  • Loading branch information
puneetsarna committed Dec 5, 2024
1 parent 174ddf6 commit 3c4a4db
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
8 changes: 8 additions & 0 deletions website/docs/d/nginx_configuration.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ In addition to the Arguments listed above - the following Attributes are exporte

* `config_file` - A `config_file` block as defined below.

* `protected_file` - A `protected_file` block as defined below.

* `package_data` - The package data for this configuration.

* `root_file` - The root file path of this Nginx Configuration.
Expand All @@ -48,6 +50,12 @@ A `config_file` block exports the following:

* `virtual_path` - The path of this configuration file.

---

A `protected_file` block exports the following:

* `virtual_path` - The path of this configuration file.

## Timeouts

The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions:
Expand Down
2 changes: 0 additions & 2 deletions website/docs/d/nginx_deployment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ In addition to the Arguments listed above - the following Attributes are exporte

* `logging_storage_account` - A `logging_storage_account` block as defined below.

* `managed_resource_group` - Auto-generated managed resource group for the NGINX Deployment.

* `network_interface` - A `network_interface` block as defined below.

* `nginx_version` - NGINX version of the Deployment.
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/nginx_configuration.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ resource "azurerm_nginx_deployment" "example" {
resource_group_name = azurerm_resource_group.example.name
sku = "publicpreview_Monthly_gmz7xq9ge3py"
location = azurerm_resource_group.example.location
managed_resource_group = "example"
diagnose_support_enabled = true
frontend_public {
Expand Down
3 changes: 0 additions & 3 deletions website/docs/r/nginx_deployment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ resource "azurerm_nginx_deployment" "example" {
resource_group_name = azurerm_resource_group.example.name
sku = "standardv2_Monthly"
location = azurerm_resource_group.example.location
managed_resource_group = "example"
diagnose_support_enabled = true
automatic_upgrade_channel = "stable"
Expand Down Expand Up @@ -90,8 +89,6 @@ The following arguments are supported:

-> **NOTE:** If you are setting the `sku` to `basic_Monthly`, you cannot specify a `capacity` or `auto_scale_profile`; basic plans do not support scaling. Other `sku`s require either `capacity` or `auto_scale_profile`. If you're using `basic_Monthly` with deployments created before v4.0, you may need to use [Terraform's `ignore_changes` functionality](https://www.terraform.io/language/meta-arguments/lifecycle#ignore_changes) to ignore changes to the `capacity` field.

* `managed_resource_group` - (Optional) Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created.

---

* `capacity` - (Optional) Specify the number of NGINX capacity units for this NGINX deployment.
Expand Down

0 comments on commit 3c4a4db

Please sign in to comment.