File tree 2 files changed +29
-4
lines changed
2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ locals {
207
207
crossplane_namespace = " crossplane-system"
208
208
209
209
upjet_aws_provider = {
210
- enable = true
210
+ enable = var.enable_upjet_aws_provider # defaults to true
211
211
version = " v1.5.0"
212
212
runtime_config = " upjet-aws-runtime-config"
213
213
provider_config_name = " aws-provider-config" # this is the providerConfigName used in all the examples in this repo
@@ -230,15 +230,15 @@ locals {
230
230
}
231
231
232
232
aws_provider = {
233
- enable = false
233
+ enable = var.enable_aws_provider # defaults to false
234
234
version = " v0.48.0"
235
235
name = " aws-provider"
236
236
runtime_config = " aws-runtime-config"
237
237
provider_config_name = " aws-provider-config" # this is the providerConfigName used in all the examples in this repo
238
238
}
239
239
240
240
kubernetes_provider = {
241
- enable = true
241
+ enable = var.enable_kubernetes_provider # defaults to true
242
242
version = " v0.13.0"
243
243
service_account = " kubernetes-provider"
244
244
name = " kubernetes-provider"
@@ -248,7 +248,7 @@ locals {
248
248
}
249
249
250
250
helm_provider = {
251
- enable = true
251
+ enable = var.enable_helm_provider # defaults to true
252
252
version = " v0.18.1"
253
253
service_account = " helm-provider"
254
254
name = " helm-provider"
Original file line number Diff line number Diff line change
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
1
3
4
+ variable "enable_upjet_aws_provider" {
5
+ type = bool
6
+ description = " Installs the upjet aws provider"
7
+ default = true
8
+ }
9
+
10
+ variable "enable_aws_provider" {
11
+ type = bool
12
+ description = " Installs the contrib aws provider"
13
+ default = false
14
+ }
15
+
16
+ variable "enable_kubernetes_provider" {
17
+ type = bool
18
+ description = " Installs the kubernetes provider"
19
+ default = true
20
+ }
21
+
22
+ variable "enable_helm_provider" {
23
+ type = bool
24
+ description = " Installs the helm provider"
25
+ default = false
26
+ }
You can’t perform that action at this time.
0 commit comments