Skip to content

Commit fa3a9ec

Browse files
authored
Merge pull request #1 from rvoh-tismith/rvoh-tismith-patch-1
docs: remove references to create_service_network
2 parents 376eb2a + c9679aa commit fa3a9ec

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.header.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ You can configure centrally security by using IAM policies for access control, a
1414

1515
When creating a Service Network in the module, the following attributes are expected:
1616

17-
- `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.**
17+
- `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.**
1818
- `auth_type` = (Optional|string) Type of IAM policy to apply in the service network. Allowed values are `NONE` (default) `AWS_IAM`.
1919
- `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`.
20-
- `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.**
20+
- `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.**
2121

22-
Example of creating a service network with `auth_type` equals to `NONE`:
22+
Example of creating a **new** service network with `auth_type` equals to `NONE`:
2323

2424
```hcl
2525
service_network = {
@@ -28,7 +28,7 @@ service_network = {
2828
}
2929
```
3030

31-
Example of creating a service network with `auth_type` equals to `AWS_IAM`:
31+
Example of creating a **new** service network with `auth_type` equals to `AWS_IAM`:
3232

3333
```hcl
3434
service_network = {
@@ -53,7 +53,7 @@ service_network = {
5353
}
5454
```
5555

56-
Example of referencing an existing service network into the module:
56+
Example of referencing an **existing** service network into the module:
5757

5858
```hcl
5959
service_network = {

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
variable "service_network" {
44
type = any
55
description = <<-EOF
6-
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).
6+
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.
77
More information about the format of this variable can be found in the "Usage - Service Network" section of the README.
88
EOF
99

@@ -91,4 +91,4 @@ variable "tags" {
9191
type = map(string)
9292

9393
default = {}
94-
}
94+
}

0 commit comments

Comments
 (0)