{"id":19006286,"url":"https://github.com/scaleway-terraform-modules/terraform-scaleway-security_group","last_synced_at":"2025-07-18T16:32:42.616Z","repository":{"id":65756268,"uuid":"594407547","full_name":"scaleway-terraform-modules/terraform-scaleway-security_group","owner":"scaleway-terraform-modules","description":"Manage Scaleway security groups with Terraform.","archived":false,"fork":false,"pushed_at":"2025-03-21T06:43:43.000Z","size":77,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T19:11:40.107Z","etag":null,"topics":["scaleway","scaleway-security-group","security-group","terraform-module"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scaleway-terraform-modules.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-28T13:11:42.000Z","updated_at":"2025-03-21T06:43:46.000Z","dependencies_parsed_at":"2023-04-20T01:31:09.855Z","dependency_job_id":"851e1d8c-9b1d-45ab-b4ca-02e52d58f2f4","html_url":"https://github.com/scaleway-terraform-modules/terraform-scaleway-security_group","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway-terraform-modules%2Fterraform-scaleway-security_group","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway-terraform-modules%2Fterraform-scaleway-security_group/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway-terraform-modules%2Fterraform-scaleway-security_group/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway-terraform-modules%2Fterraform-scaleway-security_group/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scaleway-terraform-modules","download_url":"https://codeload.github.com/scaleway-terraform-modules/terraform-scaleway-security_group/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250306637,"owners_count":21408926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["scaleway","scaleway-security-group","security-group","terraform-module"],"created_at":"2024-11-08T18:31:40.562Z","updated_at":"2025-04-22T19:11:42.363Z","avatar_url":"https://github.com/scaleway-terraform-modules.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform / Scaleway\n\n## Purpose\n\nThis repository is used to create a security group on scaleway using terraform.\n\n## Usage\n\n- Setup the [scaleway provider](https://www.terraform.io/docs/providers/scaleway/index.html) in your tf file.\n- Include this module in your tf file. Refer to [documentation](https://www.terraform.io/docs/modules/sources.html#generic-git-repository).\n\n```hcl\nmodule \"my_sg\" {\n  source  = \"scaleway-terraform-modules/security_group/scaleway\"\n  version = \"1.0.2\"\n}\n```\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement_terraform) | \u003e= 0.13 |\n| \u003ca name=\"requirement_scaleway\"\u003e\u003c/a\u003e [scaleway](#requirement_scaleway) | \u003e= 2.3.0 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [scaleway_instance_security_group.this](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/instance_security_group) | resource |\n| [scaleway_instance_security_group_rules.this](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/instance_security_group_rules) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_create_sg\"\u003e\u003c/a\u003e [create_sg](#input_create_sg) | Whether you choose to create a new security group. Set to false if you want to use already existing group. | `bool` | `true` | no |\n| \u003ca name=\"input_enable_default_security\"\u003e\u003c/a\u003e [enable_default_security](#input_enable_default_security) | Whether to block SMTP on IPv4/IPv6 (Port 25, 465, 587). Set to false will unblock SMTP if your account is authorized to. If your organization is not yet authorized to send SMTP traffic, open a support ticket. | `bool` | `true` | no |\n| \u003ca name=\"input_inbound_default_policy\"\u003e\u003c/a\u003e [inbound_default_policy](#input_inbound_default_policy) | Default policy on incoming traffic. Possible values are: accept or drop. | `string` | `\"drop\"` | no |\n| \u003ca name=\"input_inbound_rules\"\u003e\u003c/a\u003e [inbound_rules](#input_inbound_rules) | List of inbound rule to add to the security group. | ```list(object({ action = string protocol = string port = optional(number) port_range = optional(string) ip = optional(string) ip_range = optional(string) }))``` | ```[ { \"action\": null, \"ip\": null, \"ip_range\": null, \"port\": null, \"port_range\": null, \"protocol\": null } ]``` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input_name) | Name of the security group. | `string` | `null` | no |\n| \u003ca name=\"input_outbound_default_policy\"\u003e\u003c/a\u003e [outbound_default_policy](#input_outbound_default_policy) | Default policy on outgoing traffic. Possible values are: accept or drop. | `string` | `\"drop\"` | no |\n| \u003ca name=\"input_outbound_rules\"\u003e\u003c/a\u003e [outbound_rules](#input_outbound_rules) | List of outbound rule to add to the security group. | ```list(object({ action = string protocol = string port = optional(number) port_range = optional(string) ip = optional(string) ip_range = optional(string) }))``` | ```[ { \"action\": null, \"ip\": null, \"ip_range\": null, \"port\": null, \"port_range\": null, \"protocol\": null } ]``` | no |\n| \u003ca name=\"input_security_group_description\"\u003e\u003c/a\u003e [security_group_description](#input_security_group_description) | Security Group description | `string` | `\"\"` | no |\n| \u003ca name=\"input_security_group_id\"\u003e\u003c/a\u003e [security_group_id](#input_security_group_id) | Whether you choose to use and existing security group. | `string` | `\"\"` | no |\n| \u003ca name=\"input_sg_tags\"\u003e\u003c/a\u003e [sg_tags](#input_sg_tags) | Additional tags for the Security Groups | `list(string)` | `[]` | no |\n| \u003ca name=\"input_stateful\"\u003e\u003c/a\u003e [stateful](#input_stateful) | Boolean to specify whether the security group should be stateful or not. | `bool` | `true` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input_tags) | Tags associated with the security group and its rules. | `list(any)` | `[]` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_group_id\"\u003e\u003c/a\u003e [group_id](#output_group_id) | ID of the security group. |\n| \u003ca name=\"output_security_group_description\"\u003e\u003c/a\u003e [security_group_description](#output_security_group_description) | The description of the security group |\n| \u003ca name=\"output_security_group_id\"\u003e\u003c/a\u003e [security_group_id](#output_security_group_id) | The ID of the security group |\n| \u003ca name=\"output_security_group_name\"\u003e\u003c/a\u003e [security_group_name](#output_security_group_name) | The name of the security group |\n\u003c!-- END_TF_DOCS --\u003e\n\n## Authors\n\nModule is maintained with help from [the community](https://github.com/scaleway-terraform-modules/terraform-scaleway-security_group/graphs/contributors).\n\n## License\n\nMozilla Public License 2.0 Licensed. See [LICENSE](https://github.com/scaleway-terraform-modules/terraform-scaleway-security_group/tree/master/LICENSE) for full details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleway-terraform-modules%2Fterraform-scaleway-security_group","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscaleway-terraform-modules%2Fterraform-scaleway-security_group","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleway-terraform-modules%2Fterraform-scaleway-security_group/lists"}