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: "A reference to a Secret Manager secret.",
98
-
MaxItems: 10,
99
98
Elem: &schema.Resource{
100
99
Schema: map[string]*schema.Schema{
101
100
"secret_id": {
102
-
Type: schema.TypeString,
103
-
Description: "The secret UUID.",
104
-
Required: true,
105
-
ValidateFunc: validation.IsUUID,
101
+
Type: schema.TypeString,
102
+
Description: "The secret unique identifier, it could be formatted as UUID or region/UUID. The secret must be in the same region as the job definition.",
103
+
Required: true,
106
104
},
107
105
"secret_reference_id": {
108
106
Type: schema.TypeString,
@@ -172,7 +170,7 @@ func ResourceJobDefinitionCreate(ctx context.Context, d *schema.ResourceData, m
172
170
}
173
171
174
172
ifrawSecretReference, ok:=d.GetOk("secret_reference"); ok {
assert.ErrorContains(t, err, fmt.Sprintf("the secret id %s does not appear to be in the same region as the job definition id %s", jobSecrets[2].SecretID, jobID))
0 commit comments