-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OSDOCS#10177: ROSA Terraform Tutorials and Enhancements #77742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/re-test |
|
/test validate-asciidoc |
|
/re-test |
1 similar comment
|
/re-test |
a7dde1e to
5882052
Compare
45a2de1 to
e048d0e
Compare
rosa_hcp/terraform/rosa-hcp-creating-a-cluster-with-customizations-terraform.adoc
Outdated
Show resolved
Hide resolved
...delete_clusters/terraform/rosa-classic-creating-a-cluster-with-customizations-terraform.adoc
Outdated
Show resolved
Hide resolved
...delete_clusters/terraform/rosa-classic-creating-a-cluster-with-customizations-terraform.adoc
Outdated
Show resolved
Hide resolved
...delete_clusters/terraform/rosa-classic-creating-a-cluster-with-customizations-terraform.adoc
Outdated
Show resolved
Hide resolved
ccf31bd to
cd13e48
Compare
805ace8 to
cd679a2
Compare
| In your `variables.tf` file, set the default value to `true`: | ||
|
|
||
| [source,terminal] | ||
| ---- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be empty?
| [source,terminal] | ||
| ---- | ||
| Success! The configuration is valid. | ||
| ---- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could also be worth at least mentioning that you can use terraform plan to see what terraform will do without worrying about it doing anything
| count = var.create_vpc ? 1 : 0 | ||
| depends_on = [module.vpc] | ||
| create_duration = "60s" | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This curly brace is required for this to be a valid terraform file
| depends_on = [time_sleep.wait_60_seconds] | ||
| } | ||
| EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The curly brace here is also required. Also, seems strange to remove the depends_on for the wait_60_seconds, especially if you're going to leave that resource
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ cat<<-EOF>variables.tf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part of the command is required for it to work
| cluster_name = local.cluster_name | ||
| openshift_version = var.openshift_version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two options are required for the module to work. Seems a bit weird to get rid of the other options as well
| source = "terraform-redhat/rosa-hcp/rhcs" | ||
| version = "1.6.2" | ||
| cluster_name = local.cluster_name | ||
| openshift_version = var.openshift_version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This option is required for the module to work
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ export <1> = <2> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| $ export <1> = <2> | |
| $ export <1>=<2> |
Spaces between the variable name and value are not supported in bash, so probably better to not include the spaces here
|
The This is because your PR targets the If the update in your PR does NOT apply to version 4.18 onward, please re-target this PR to go directly into the appropriate version branch or branches (enterprise-4.x) instead of main. |
cd679a2 to
e74deec
Compare
| @@ -0,0 +1,13 @@ | |||
| // Module included in the following assemblies: | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 [error] OpenShiftAsciiDoc.ModuleContainsContentType: Module is missing the '_mod-docs-content-type' variable.
|
@EricPonvelle: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
The This is because your PR targets the If the update in your PR does NOT apply to version 4.19 onward, please re-target this PR to go directly into the appropriate version branch or branches (enterprise-4.x) instead of main. |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Version:
Enterprise-4.16+Issue:
OSDOCS-10177
Link to docs preview:
QE review:
Additional information:
This PR builds on my Terraform updates in #77311 and creates Terraform tutorials. This content should cover guides for the following topics, for both ROSA classic and ROSA with HCP:
OSDOCS-9245: VPCCovered with the HCP updatesOSDOCS-9246: Control plane node, infrastructure node, and compute node type and countNot supported on ROSA with HCP clusters since there are no infrastructure and control plane nodes.OSDOCS-9248: Cluster privacy - public vs. private?Created this guide section to create a private ROSA with HCP cluster. I also updated the overview table for both Classic and HCP to add a default toprivate_clusterasfalse. Now, the default clusters are public clusters.