Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ See this [example](https://professional-service.git.onstackit.cloud/professional
- `telemetrylink_custom_endpoint` (String) Custom endpoint for the Telemetry Link service
- `telemetryrouter_custom_endpoint` (String) Custom endpoint for the Telemetry Router service
- `token_custom_endpoint` (String) Custom endpoint for the token API, which is used to request access tokens when using the key flow
- `ufw_custom_endpoint` (String) Custom endpoint for the UFW service
- `use_oidc` (Boolean) Enables OIDC for Authentication. This can also be sourced from the `STACKIT_USE_OIDC` Environment Variable. Defaults to `false`.
- `valkey_custom_endpoint` (String) Custom endpoint for the Key Value Store service
- `vpn_custom_endpoint` (String) Custom endpoint for the VPN service
41 changes: 41 additions & 0 deletions docs/resources/ufw_instance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit_ufw_instance Resource - stackit"
subcategory: ""
description: |-
UFW Instance (Rule) resource schema.
---

# stackit_ufw_instance (Resource)

UFW Instance (Rule) resource schema.

## Example Usage

```terraform
resource "stackit_ufw_instance" "rule" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
region = "eu01"
instance_id = "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy"
product = "edge-cloud"
source_ip = "1.2.3.4/32"
type = "ACL"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `instance_id` (String) The target service instance ID.
- `product` (String) The source service product (e.g. 'edge-cloud').
- `project_id` (String) STACKIT Project ID associated with the rule.
- `region` (String) The resource region.
- `source_ip` (String) The source IP (CIDR) to which the rule applies.
- `type` (String) The type of the rule (e.g., 'ACL').

### Read-Only

- `id` (String) Terraform internal resource identifier in format 'project_id,region,rule_id'.
- `rule_id` (String) The rule UUID.
8 changes: 8 additions & 0 deletions examples/resources/stackit_ufw_instance/resource.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
resource "stackit_ufw_instance" "rule" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
region = "eu01"
instance_id = "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy"
product = "edge-cloud"
source_ip = "1.2.3.4/32"
type = "ACL"
}
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ require (
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.18.0
github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.5.1
github.com/stackitcloud/stackit-sdk-go/services/telemetryrouter v0.5.1
github.com/stackitcloud/stackit-sdk-go/services/ufw v0.1.0
github.com/stackitcloud/stackit-sdk-go/services/valkey v0.3.0
github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.0
github.com/teambition/rrule-go v1.8.2
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.5.1 h1:iIF9cRmW
github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.5.1/go.mod h1:hgw8janWmDfP2bnuZensxqcAePr49BX5ug8Rq85o+h8=
github.com/stackitcloud/stackit-sdk-go/services/telemetryrouter v0.5.1 h1:WzpbI9wK3/xSplKOWpHg2FA8MYDwqO0jYGlDANe2cgY=
github.com/stackitcloud/stackit-sdk-go/services/telemetryrouter v0.5.1/go.mod h1:WUmgKtwpe90Yq3YbgNxc2clTTULVxCu0ha6lMTjUnII=
github.com/stackitcloud/stackit-sdk-go/services/ufw v0.1.0 h1:LnDUxI7v507T341Smff/fVzSSRP59uIOUmcHAbUf1hE=
github.com/stackitcloud/stackit-sdk-go/services/ufw v0.1.0/go.mod h1:c/JxzGai01jCK/5OCi0TxCUiQ1Gl7SboGuErflWxLqQ=
github.com/stackitcloud/stackit-sdk-go/services/valkey v0.3.0 h1:XC238ExUFeDHOlJzu4gcspsbcr5v70T/cuNuC/8tUZQ=
github.com/stackitcloud/stackit-sdk-go/services/valkey v0.3.0/go.mod h1:etzt/a723p327dqha1V72cCoBWjUBS2DtHy3ZTac0SA=
github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.0 h1:JpMJjWBa6fwNNcAHoq00v+8+DwMD0/fe4WPjvbHdY2o=
Expand Down
1 change: 1 addition & 0 deletions stackit/internal/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ type ProviderData struct {
ServiceAccountCustomEndpoint string
TelemetryLinkCustomEndpoint string
TelemetryRouterCustomEndpoint string
UfwCustomEndpoint string
ValkeyCustomEndpoint string
VpnCustomEndpoint string
EnableBetaResources bool
Expand Down
Loading