|
1 | 1 | { |
2 | 2 | "path": ".", |
3 | 3 | "variables": { |
| 4 | + "access_tags": { |
| 5 | + "name": "access_tags", |
| 6 | + "type": "list(string)", |
| 7 | + "description": "A list of access tags to apply to the resources created by the module, see https://cloud.ibm.com/docs/account?topic=account-access-tags-tutorial for more details", |
| 8 | + "default": [], |
| 9 | + "source": [ |
| 10 | + "ibm_resource_tag.cluster_access_tag.count", |
| 11 | + "ibm_resource_tag.cluster_access_tag.tags", |
| 12 | + "ibm_resource_tag.cos_access_tag.tags" |
| 13 | + ], |
| 14 | + "pos": { |
| 15 | + "filename": "variables.tf", |
| 16 | + "line": 148 |
| 17 | + }, |
| 18 | + "min_length": 1, |
| 19 | + "max_length": 128, |
| 20 | + "matches": "^[A-Za-z0-9:_ .-]+$", |
| 21 | + "computed": true, |
| 22 | + "elem": { |
| 23 | + "type": "TypeString" |
| 24 | + } |
| 25 | + }, |
4 | 26 | "cluster_name": { |
5 | 27 | "name": "cluster_name", |
6 | 28 | "type": "string", |
|
92 | 114 | "type": "bool", |
93 | 115 | "description": "Enable if using worker autoscaling. Stops Terraform managing worker count", |
94 | 116 | "default": false, |
| 117 | + "required": true, |
95 | 118 | "source": [ |
96 | 119 | "ibm_container_vpc_cluster.autoscaling_cluster.count", |
97 | | - "ibm_container_vpc_cluster.cluster.count" |
| 120 | + "ibm_container_vpc_cluster.cluster.count", |
| 121 | + "ibm_resource_tag.cluster_access_tag.resource_id" |
98 | 122 | ], |
99 | 123 | "pos": { |
100 | 124 | "filename": "variables.tf", |
101 | 125 | "line": 66 |
102 | | - } |
| 126 | + }, |
| 127 | + "min_length": 1, |
| 128 | + "max_length": 1024, |
| 129 | + "matches": "^crn:v1(:[a-zA-Z0-9 \\-\\._~\\*\\+,;=!$\u0026'\\(\\)\\/\\?#\\[\\]@]*){8}$|^[0-9]+$" |
103 | 130 | }, |
104 | 131 | "kms_config": { |
105 | 132 | "name": "kms_config", |
|
194 | 221 | "description": "Flag indicating whether or not to use an existing COS instance", |
195 | 222 | "default": false, |
196 | 223 | "source": [ |
197 | | - "ibm_resource_instance.cos_instance.count" |
| 224 | + "ibm_resource_instance.cos_instance.count", |
| 225 | + "ibm_resource_tag.cos_access_tag.count" |
198 | 226 | ], |
199 | 227 | "pos": { |
200 | 228 | "filename": "variables.tf", |
|
212 | 240 | ], |
213 | 241 | "pos": { |
214 | 242 | "filename": "variables.tf", |
215 | | - "line": 154 |
| 243 | + "line": 167 |
216 | 244 | } |
217 | 245 | }, |
218 | 246 | "vpc_id": { |
|
228 | 256 | ], |
229 | 257 | "pos": { |
230 | 258 | "filename": "variables.tf", |
231 | | - "line": 149 |
| 259 | + "line": 162 |
232 | 260 | }, |
233 | 261 | "immutable": true |
234 | 262 | }, |
|
399 | 427 | }, |
400 | 428 | "pos": { |
401 | 429 | "filename": "main.tf", |
402 | | - "line": 113 |
| 430 | + "line": 120 |
403 | 431 | } |
404 | 432 | }, |
405 | 433 | "ibm_container_vpc_cluster.cluster": { |
|
422 | 450 | }, |
423 | 451 | "pos": { |
424 | 452 | "filename": "main.tf", |
425 | | - "line": 51 |
| 453 | + "line": 58 |
426 | 454 | } |
427 | 455 | }, |
428 | 456 | "ibm_container_vpc_worker_pool.autoscaling_pool": { |
|
438 | 466 | }, |
439 | 467 | "pos": { |
440 | 468 | "filename": "main.tf", |
441 | | - "line": 253 |
| 469 | + "line": 271 |
442 | 470 | } |
443 | 471 | }, |
444 | 472 | "ibm_container_vpc_worker_pool.pool": { |
|
454 | 482 | }, |
455 | 483 | "pos": { |
456 | 484 | "filename": "main.tf", |
457 | | - "line": 212 |
| 485 | + "line": 230 |
458 | 486 | } |
459 | 487 | }, |
460 | 488 | "ibm_resource_instance.cos_instance": { |
|
473 | 501 | "line": 37 |
474 | 502 | } |
475 | 503 | }, |
| 504 | + "ibm_resource_tag.cluster_access_tag": { |
| 505 | + "mode": "managed", |
| 506 | + "type": "ibm_resource_tag", |
| 507 | + "name": "cluster_access_tag", |
| 508 | + "attributes": { |
| 509 | + "count": "access_tags", |
| 510 | + "resource_id": "ignore_worker_pool_size_changes", |
| 511 | + "tags": "access_tags" |
| 512 | + }, |
| 513 | + "provider": { |
| 514 | + "name": "ibm" |
| 515 | + }, |
| 516 | + "pos": { |
| 517 | + "filename": "main.tf", |
| 518 | + "line": 184 |
| 519 | + } |
| 520 | + }, |
| 521 | + "ibm_resource_tag.cos_access_tag": { |
| 522 | + "mode": "managed", |
| 523 | + "type": "ibm_resource_tag", |
| 524 | + "name": "cos_access_tag", |
| 525 | + "attributes": { |
| 526 | + "count": "use_existing_cos", |
| 527 | + "tags": "access_tags" |
| 528 | + }, |
| 529 | + "provider": { |
| 530 | + "name": "ibm" |
| 531 | + }, |
| 532 | + "pos": { |
| 533 | + "filename": "main.tf", |
| 534 | + "line": 47 |
| 535 | + } |
| 536 | + }, |
476 | 537 | "null_resource.confirm_network_healthy": { |
477 | 538 | "mode": "managed", |
478 | 539 | "type": "null_resource", |
|
485 | 546 | }, |
486 | 547 | "pos": { |
487 | 548 | "filename": "main.tf", |
488 | | - "line": 313 |
| 549 | + "line": 331 |
489 | 550 | } |
490 | 551 | }, |
491 | 552 | "null_resource.reset_api_key": { |
|
497 | 558 | }, |
498 | 559 | "pos": { |
499 | 560 | "filename": "main.tf", |
500 | | - "line": 187 |
| 561 | + "line": 205 |
501 | 562 | } |
502 | 563 | } |
503 | 564 | }, |
|
515 | 576 | }, |
516 | 577 | "pos": { |
517 | 578 | "filename": "main.tf", |
518 | | - "line": 201 |
| 579 | + "line": 219 |
519 | 580 | } |
520 | 581 | }, |
521 | 582 | "data.ibm_container_cluster_versions.cluster_versions": { |
|
0 commit comments