File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.3.0 (June 26, 2020)
2
+
3
+ FIXES:
4
+
5
+ * Add Service Link role creation flag (default to ` true ` )
6
+
7
+
1
8
## 0.2.1 (May 2, 2020)
2
9
3
10
UPDATE:
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ module "aws_es" {
121
121
| cognito\_ options\_ identity\_ pool\_ id | ID of the Cognito Identity Pool to use | ` string ` | ` "" ` | no |
122
122
| cognito\_ options\_ role\_ arn | ARN of the IAM role that has the AmazonESCognitoAccess policy attached | ` string ` | ` "" ` | no |
123
123
| cognito\_ options\_ user\_ pool\_ id | ID of the Cognito User Pool to use | ` string ` | ` "" ` | no |
124
+ | create\_ service\_ link\_ role | Create service link role for AWS Elasticsearch Service | ` bool ` | ` true ` | no |
124
125
| domain\_ name | Name of the domain | ` string ` | n/a | yes |
125
126
| ebs\_ enabled | Whether EBS volumes are attached to data nodes in the domain | ` bool ` | ` true ` | no |
126
127
| ebs\_ options | EBS related options, may be required based on chosen instance size | ` map ` | ` {} ` | no |
Original file line number Diff line number Diff line change 29
29
30
30
# Service-linked role to give Amazon ES permissions to access your VPC
31
31
resource "aws_iam_service_linked_role" "es" {
32
+ count = var. create_service_link_role == true ? 1 : 0
32
33
aws_service_name = " es.amazonaws.com"
33
34
description = " Service-linked role to give Amazon ES permissions to access your VPC"
34
35
}
Original file line number Diff line number Diff line change @@ -244,3 +244,10 @@ variable "timeouts_update" {
244
244
type = string
245
245
default = null
246
246
}
247
+
248
+ # Service Link Role
249
+ variable "create_service_link_role" {
250
+ description = " Create service link role for AWS Elasticsearch Service"
251
+ type = bool
252
+ default = true
253
+ }
You can’t perform that action at this time.
0 commit comments