You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,12 @@ You can configure centrally security by using IAM policies for access control, a
15
15
16
16
When creating a Service Network in the module, the following attributes are expected:
17
17
18
-
-`name` = (Optional|string) Name of the Service Network. If `create_service_network` is `true`, this value is required. **This attribute and `identifier` cannot be set at the same time.**
18
+
-`name` = (Optional|string) Name of the Service Network. This attribute creates a **new** service network using the specified name. **This attribute and `identifier` cannot be set at the same time.**
19
19
-`auth_type` = (Optional|string) Type of IAM policy to apply in the service network. Allowed values are `NONE` (default) `AWS_IAM`.
20
20
-`auth_policy` = (Optional|any) Auth policy. The policy string in JSON must not contain newlines or blank lines. The auth policy resource will be created only if `auth_type` is set to `AWS_IAM`.
21
-
-`identifier` = (Optional|string) The ID or ARN of an existing service network. If you are working in multi-AWS account environments, ARN is compulsory. **This attribute and `name` cannot be set at the same time.**
21
+
-`identifier` = (Optional|string) The ID or ARN of an **existing** service network. If you are working in multi-AWS account environments, ARN is compulsory. **This attribute and `name` cannot be set at the same time.**
22
22
23
-
Example of creating a service network with `auth_type` equals to `NONE`:
23
+
Example of creating a **new**service network with `auth_type` equals to `NONE`:
24
24
25
25
```hcl
26
26
service_network = {
@@ -29,7 +29,7 @@ service_network = {
29
29
}
30
30
```
31
31
32
-
Example of creating a service network with `auth_type` equals to `AWS_IAM`:
32
+
Example of creating a **new**service network with `auth_type` equals to `AWS_IAM`:
33
33
34
34
```hcl
35
35
service_network = {
@@ -54,7 +54,7 @@ service_network = {
54
54
}
55
55
```
56
56
57
-
Example of referencing an existing service network into the module:
57
+
Example of referencing an **existing** service network into the module:
58
58
59
59
```hcl
60
60
service_network = {
@@ -340,7 +340,7 @@ services = {
340
340
341
341
| Name | Description | Type | Default | Required |
| <aname="input_service_network"></a> [service\_network](#input\_service\_network)| Amazon VPC Lattice Service Network information. You can either create a new Service Network or reference a current one (to associate Services or VPCs). The attribute `create_service_network` defines if you want to create or not a service network (`false` by default).<br>More information about the format of this variable can be found in the "Usage - Service Network" section of the README. |`any`|`{}`| no |
343
+
| <aname="input_service_network"></a> [service\_network](#input\_service\_network)| Amazon VPC Lattice Service Network information. You can either create a new Service Network or reference a current one (to associate Services or VPCs). Setting the `name` attribute will create a **new** service network, while using the attribute `identifier` will reference an **existing** service network.<br>More information about the format of this variable can be found in the "Usage - Service Network" section of the README. |`any`|`{}`| no |
344
344
| <aname="input_services"></a> [services](#input\_services)| Definition of the VPC Lattice Services to create. You can use this module to either create only Lattice services (not associated with any service network), or associated with a service network (if you create one or provide an identifier). You can define 1 or more Service using this module.<br>More information about the format of this variable can be found in the "Usage - Services" section of the README. |`any`|`{}`| no |
345
345
| <aname="input_tags"></a> [tags](#input\_tags)| Tags to apply to all the resources created in this module. |`map(string)`|`{}`| no |
346
346
| <aname="input_target_groups"></a> [target\_groups](#input\_target\_groups)| Definitions of the Target Groups to create. You can define 1 or more Target Groups using this module.<br>More information about the format of this variable can be found in the "Usage - Target Groups" section of the README. |`any`|`{}`| no |
0 commit comments