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
A module for provisioning an IBM Cloud Red Hat OpenShift cluster on VPC Gen2. The module either creates the required Cloud Object Storage instance or uses an existing instance. The module also supports optionally passing a key management configuration for secret encryption and boot volume encryption
9
+
A module for provisioning an IBM Cloud Red Hat OpenShift cluster on VPC Gen2. The module either creates the required Cloud Object Storage instance or uses an existing instance. The module also supports optionally passing a key management configuration for secret encryption and boot volume encryption.
16
10
17
-
## Before you begin
11
+
###Before you begin
18
12
19
13
- Make sure that you have a recent version of the [IBM Cloud CLI](https://cloud.ibm.com/docs/cli?topic=cli-getting-started)
20
14
- Make sure that you have a recent version of the [IBM Cloud Kubernetes service CLI](https://cloud.ibm.com/docs/containers?topic=containers-kubernetes-service-cli)
21
15
22
-
## Usage
16
+
<!-- Below content is automatically populated via pre-commit hook -->
## obtain the below values from the targeted VPC and adjust to the number of zones,
37
-
## subnets, subnet name, cidr_block, id, zone
44
+
vpc_id = "79cxxxx-xxxx-xxxx-xxxx-xxxxxXX8667"
45
+
# obtain the below values from the targeted VPC and adjust to the number of zones, subnets, subnet name, cidr_block, id, zone
38
46
vpc_subnets = {
39
47
zone-1 = [
40
48
{
@@ -91,9 +99,9 @@ module "ocp_base" {
91
99
}
92
100
```
93
101
94
-
## Troubleshooting
102
+
###Troubleshooting
95
103
96
-
### New kube_version message
104
+
####New kube_version message
97
105
98
106
- When you run a `terraform plan` command, you might get a message about a new version of Kubernetes, as in the following example:
99
107
@@ -107,7 +115,7 @@ module "ocp_base" {
107
115
108
116
The Kubernetes version is ignored in the module code, so the infrastructure will not be changed. The message identifies only that drift exists in the versions, and after you run a `terraform apply` command, the state will be refreshed.
109
117
110
-
## Required IAM access policies
118
+
### Required IAM access policies
111
119
You need the following permissions to run this module.
112
120
113
121
- Account Management
@@ -132,21 +140,9 @@ Optionally, you need the following permissions to attach Access Management tags
132
140
- **Tagging** service
133
141
- `Administrator` platform access
134
142
135
-
## Note :
143
+
### Note :
136
144
- One worker pool should always be named as `default`. Refer [issue 2849](https://github.com/IBM-Cloud/terraform-provider-ibm/issues/2849) for further details.
137
145
138
-
<!-- BEGIN EXAMPLES HOOK -->
139
-
## Examples
140
-
141
-
- [ Add Rules to Security Groups Example](examples/add_rules_to_sg)
- [ 2 MZR clusters in same VPC](examples/multiple_mzr_clusters)
146
-
- [ Single zone autoscaling cluster example](examples/single_zone_autoscale_cluster)
147
-
- [ Standard Example With User Managed Boot Volume Encryption](examples/standard)
148
-
<!-- END EXAMPLES HOOK -->
149
-
150
146
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
151
147
### Requirements
152
148
@@ -230,12 +226,9 @@ Optionally, you need the following permissions to attach Access Management tags
230
226
| <a name="output_workerpools"></a> [workerpools](#output\_workerpools) | Worker pools created |
231
227
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
232
228
233
-
<!-- BEGIN CONTRIBUTING HOOK -->
234
-
235
229
<!-- Leave this section as is so that your module has a link to local development environment set up steps for contributors to follow -->
236
230
## Contributing
237
231
238
232
You can report issues and request features for this module in GitHub issues in the module repo. See [Report an issue or request a feature](https://github.com/terraform-ibm-modules/.github/blob/main/.github/SUPPORT.md).
239
233
240
234
To set up your local development environment, see [Local development setup](https://terraform-ibm-modules.github.io/documentation/#/local-dev-setup) in the project documentation.
Copy file name to clipboardExpand all lines: examples/add_rules_to_sg/version.tf
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
terraform {
2
-
required_version=">=1.3.0, < 1.6.0"
2
+
required_version=">= 1.3.0, <1.6.0"
3
+
4
+
# Ensure that there is always 1 example locked into the lowest provider version of the range defined in the main
5
+
# module's version.tf (basic and add_rules_to_sg), and 1 example that will always use the latest provider version (advanced, fscloud and multiple mzr).
0 commit comments