Skip to content

Commit 67c4c5a

Browse files
committed
remoção de provider do módulo + remoçãpo de variavel de região
1 parent 18d14b7 commit 67c4c5a

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ module "terraform-aws-iam-users-groups" {
8787

8888
| Name | Description | Type | Default | Required |
8989
|------|-------------|------|---------|:--------:|
90-
| <a name="input_region"></a> [region](#input\_region) | Region where the resources will be created. | `string` | n/a | yes |
9190
| <a name="input_create_groups"></a> [create\_groups](#input\_create\_groups) | Define if Terraform will create new\_groups based on variable groups . | `bool` | `false` | no |
9291
| <a name="input_groups"></a> [groups](#input\_groups) | List of group names for Terraform create, case create\_groups variable be true | `list(string)` | `[]` | no |
9392
| <a name="input_users"></a> [users](#input\_users) | Map for Terraform create users. | `map(any)` | `{}` | no |

main.tf

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
provider "aws" {
2-
region = var.region
3-
}
4-
5-
61
resource "aws_iam_group" "groups" {
72
for_each = var.create_groups ? toset(var.groups) : toset([])
83
name = each.value

variables.tf

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
variable "region" {
2-
type = string
3-
description = "Region where the resources will be created."
4-
}
5-
61
variable "groups" {
72
type = list(string)
83
default = []

0 commit comments

Comments
 (0)