Skip to content

Instantly share code, notes, and snippets.

View pradeep17j's full-sized avatar

Pradeep kumar pradeep17j

  • Broadcom
  • Palo Alto
  • 16:24 (UTC -08:00)
View GitHub Profile
{
2 "version": 4,
3 "terraform_version": "1.7.3",
4 "serial": 3,
5 "lineage": "68531af7-8dd8-cc6c-54a0-dd31314754bc",
6 "outputs": {},
7 "resources": [
8 {
9 "mode": "data",
10 "type": "vcf_cluster",
# vcf_cluster.clus2:
resource "vcf_cluster" "clus2" {
domain_id = "46ec313d-e782-4f46-b6c9-eb62e9b2b5d3"
id = "801b1c2f-33be-497b-bc28-04fc463fa40d"
is_default = true
is_stretched = false
name = "sddcId-10011"
primary_datastore_name = "sddc_mgmt_vsan"
primary_datastore_type = "VSAN"
@pradeep17j
pradeep17j / gist:7a6eab29a8320c103167e773f48455ae
Created July 30, 2024 18:59
main.tf for resource vcf_instance
# ----------------------------------------------- #
2 # VCF Configuration - SDDC/Management Domain
3 # ----------------------------------------------- #
4 resource "vcf_instance" "sddc_instance" {
5 instance_id = var.sddc_manager["name"]
6 skip_esx_thumbprint_validation = "true"
7 management_pool_name = var.mgmt_cluster_resource_pool
8 ceip_enabled = var.ceip
9 dv_switch_version = var.mgmt_vc_dvs["version"]
10 esx_license = var.license_keys["esxi"]
@pradeep17j
pradeep17j / gist:e313961c8be7ce525e24886e7acdf8dd
Created July 30, 2024 18:53
Trace output of terraform apply
2024-07-30T11:31:20.596-0700 [INFO] Terraform version: 1.7.3
2024-07-30T11:31:20.596-0700 [DEBUG] using github.com/hashicorp/go-tfe v1.41.0
2024-07-30T11:31:20.596-0700 [DEBUG] using github.com/hashicorp/hcl/v2 v2.19.1
2024-07-30T11:31:20.596-0700 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2024-07-30T11:31:20.596-0700 [DEBUG] using github.com/zclconf/go-cty v1.14.1
2024-07-30T11:31:20.596-0700 [INFO] Go runtime version: go1.21.5
2024-07-30T11:31:20.596-0700 [INFO] CLI args: []string{"terraform", "apply", "-auto-approve"}
2024-07-30T11:31:20.596-0700 [TRACE] Stdout is not a terminal
2024-07-30T11:31:20.596-0700 [TRACE] Stderr is not a terminal
2024-07-30T11:31:20.596-0700 [TRACE] Stdin is a terminal