@@ -36,18 +36,18 @@ Only one scope per resource is allowed.
36
36
``` terraform
37
37
# Create Tanzu Mission Control kubernetes secret with attached set as default value.
38
38
resource "tanzu-mission-control_kubernetes_secret" "create_secret" {
39
- name = "tf-secret" # Required
40
- namespace_name = "tf-secret-namespace-name" # Required
39
+ name = "tf-secret" # Required
40
+ namespace_name = "tf-secret-namespace-name" # Required
41
41
42
42
scope {
43
43
cluster {
44
- cluster_name = "testcluster" # Required
45
- provisioner_name = "attached" # Default: attached
46
- management_cluster_name = "attached" # Default: attached
44
+ cluster_name = "testcluster" # Required
45
+ provisioner_name = "attached" # Default: attached
46
+ management_cluster_name = "attached" # Default: attached
47
47
}
48
48
}
49
49
50
- export = false # Default: false
50
+ export = false # Default: false
51
51
52
52
meta {
53
53
description = "Create namespace through terraform"
@@ -56,9 +56,9 @@ resource "tanzu-mission-control_kubernetes_secret" "create_secret" {
56
56
57
57
spec {
58
58
docker_config_json {
59
- username = "testusername" # Required
60
- password = "testpassword" # Required
61
- image_registry_url = "testimageregistryurl" # Required
59
+ username = "testusername" # Required
60
+ password = "testpassword" # Required
61
+ image_registry_url = "testimageregistryurl" # Required
62
62
}
63
63
}
64
64
}
0 commit comments