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
Copy file name to clipboardExpand all lines: google-beta/services/artifactregistry/resource_artifact_registry_repository.go
+11-8
Original file line number
Diff line number
Diff line change
@@ -350,10 +350,13 @@ snapshot versions.`,
350
350
Elem: &schema.Resource{
351
351
Schema: map[string]*schema.Schema{
352
352
"uri": {
353
-
Type: schema.TypeString,
354
-
Required: true,
355
-
ForceNew: true,
356
-
Description: `Specific uri to the Artifact Registory repository, e.g. 'projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY'`,
353
+
Type: schema.TypeString,
354
+
Required: true,
355
+
ForceNew: true,
356
+
Description: `One of:
357
+
a. Artifact Registry Repository resource, e.g. 'projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY'
358
+
b. URI to the registry, e.g. '"https://registry-1.docker.io"'
359
+
c. URI to Artifact Registry Repository, e.g. '"https://REGION-docker.pkg.dev/UPSTREAM_PROJECT_ID/UPSTREAM_REPOSITORY"'`,
357
360
},
358
361
},
359
362
},
@@ -383,7 +386,7 @@ not be validated.`,
383
386
Type: schema.TypeList,
384
387
Optional: true,
385
388
ForceNew: true,
386
-
Description: `Settings for a remote repository with a custom uri.`,
389
+
Description: `[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.`,
387
390
MaxItems: 1,
388
391
Elem: &schema.Resource{
389
392
Schema: map[string]*schema.Schema{
@@ -422,7 +425,7 @@ not be validated.`,
422
425
Type: schema.TypeList,
423
426
Optional: true,
424
427
ForceNew: true,
425
-
Description: `Settings for a remote repository with a custom uri.`,
428
+
Description: `[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.`,
426
429
MaxItems: 1,
427
430
Elem: &schema.Resource{
428
431
Schema: map[string]*schema.Schema{
@@ -461,7 +464,7 @@ not be validated.`,
461
464
Type: schema.TypeList,
462
465
Optional: true,
463
466
ForceNew: true,
464
-
Description: `Settings for a remote repository with a custom uri.`,
467
+
Description: `[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.`,
465
468
MaxItems: 1,
466
469
Elem: &schema.Resource{
467
470
Schema: map[string]*schema.Schema{
@@ -500,7 +503,7 @@ not be validated.`,
500
503
Type: schema.TypeList,
501
504
Optional: true,
502
505
ForceNew: true,
503
-
Description: `Settings for a remote repository with a custom uri.`,
506
+
Description: `[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.`,
0 commit comments