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
Description: "RSA private key in PEM format. When provided, overrides the generated certificate / private key combination of the IAM service. This gives you full control over the credentials. When not specified, a private key will be generated by IAM.",
84
+
Type: schema.TypeString,
85
+
Sensitive: true,
86
+
Optional: true,
87
+
Description: "RSA private key in PEM format. When provided, overrides the generated certificate / private key combination of the IAM service. This gives you full control over the credentials. When not specified, a private key will be generated by IAM.\n"+
88
+
"Mutually exclusive with `self_managed_certificate`",
88
89
},
89
90
"self_managed_expires_on": {
90
91
Type: schema.TypeString,
91
92
Optional: true,
92
-
Description: "Sets the certificate validity. When not specified, the certificate will have a validity of 5 years.",
93
+
Description: "Sets the certificate validity. When not specified, the certificate will have a validity of 5 years.\nOnly applicable when `self_managed_private_key` is used",
94
+
},
95
+
"self_managed_certificate": {
96
+
Type: schema.TypeString,
97
+
Sensitive: true,
98
+
Optional: true,
99
+
Description: "X509 Certificate in PEM format. When provided, overrides the generated certificate / private key combination of the IAM service. This gives you full control over the credentials. When not specified, a private key will be generated by IAM.\n"+
100
+
"Mutually exclusive with `self_managed_private_key`",
93
101
},
94
102
"private_key": {
95
103
Type: schema.TypeString,
@@ -151,9 +159,16 @@ func resourceIAMServiceCreate(ctx context.Context, d *schema.ResourceData, m int
0 commit comments