Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orange-cloudavenue/terraform-cloudavenue-nats
https://github.com/orange-cloudavenue/terraform-cloudavenue-nats
terraform terraform-module
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/orange-cloudavenue/terraform-cloudavenue-nats
- Owner: orange-cloudavenue
- Created: 2023-11-06T16:26:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-03T09:42:28.000Z (3 months ago)
- Last Synced: 2024-11-17T13:26:16.799Z (3 months ago)
- Topics: terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Terraform cloudavenue NAT module
This is the NAT module using cloudavenue Provider.
Its allows you to configure the NAT configurations.Useful links:
* [Cloud Avenue Provider documentation](https://registry.terraform.io/providers/orange-cloudavenue/cloudavenue/latest/docs)
* [Terraform Documentation](https://www.terraform.io/docs/language/index.html)## Usage
Basic usage of this module is as follows:
```hcl
module "nat_rules" {
source = "orange-cloudavenue/nats/cloudavenue"
rules = [
{
"name" = "example-dnat"
"edge_gateway_name" = cloudavenue_edgegateway.example.name
"rule_type" = "DNAT"
"description" = "description DNAT example"
"external_address" = "89.32.25.10"
"internal_address" = "4.11.11.11"
"priority" = 25
},
{
"name" = "example-snat"
"edge_gateway_name" = cloudavenue_edgegateway.example.name
"rule_type" = "SNAT"
"description" = "description SNAT example"
"external_address" = "89.32.25.10"
"internal_address" = "11.11.11.0/24"
"priority" = 10
}
]
}
```## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.3 |
| [cloudavenue](#requirement\_cloudavenue) | ~> 0.14.0 |## Resources
| Name | Type |
|------|------|
| [cloudavenue_edgegateway_nat_rule.nat-rule](https://registry.terraform.io/providers/orange-cloudavenue/cloudavenue/latest/docs/resources/edgegateway_nat_rule) | resource |
## Inputs| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [rules](#input\_rules) | n/a |list(object( {| n/a | yes |
name = string
edge_gateway_id = optional(string)
edge_gateway_name = optional(string)
enabled = optional(bool)
description = optional(string)
rule_type = string
external_address = string
internal_address = string
dnat_external_port = optional(string)
snat_destination_address = optional(string)
priority = optional(number)
firewall_match = optional(string)
}))
## OutputsNo outputs.
## Contributing
This provider is open source and contributions are welcome.
If you want to contribute to this provider, please read the [contributing guidelines](CONTRIBUTING.md).
You may also report issues or feature requests on the [GitHub issue tracker](https://github.com/orange-cloudavenue/terraform-cloudavenue-nats/issues/new/choose).
You can consult a [listing of resources and datasources](cmd/listing/resource-ca.md).