@@ -432,6 +432,7 @@ resource "cloudsmith_repository_upstream" "fakedocker" {
432432 ImportStateVerifyIgnore : []string {
433433 "auth_certificate" ,
434434 "auth_certificate_key" ,
435+ "auth_secret" ,
435436 },
436437 ImportStateIdFunc : func (s * terraform.State ) (string , error ) {
437438 resourceState := s .RootModule ().Resources [dockerUpstreamResourceName ]
@@ -548,7 +549,8 @@ resource "cloudsmith_repository_upstream" "helm" {
548549 resourceState .Primary .Attributes [SlugPerm ],
549550 ), nil
550551 },
551- ImportStateVerify : true ,
552+ ImportStateVerify : true ,
553+ ImportStateVerifyIgnore : []string {"auth_secret" },
552554 },
553555 },
554556 })
@@ -651,7 +653,8 @@ resource "cloudsmith_repository_upstream" "maven_central" {
651653 resourceState .Primary .Attributes [SlugPerm ],
652654 ), nil
653655 },
654- ImportStateVerify : true ,
656+ ImportStateVerify : true ,
657+ ImportStateVerifyIgnore : []string {"auth_secret" },
655658 },
656659 },
657660 })
@@ -859,7 +862,8 @@ resource "cloudsmith_repository_upstream" "nuget" {
859862 resourceState .Primary .Attributes [SlugPerm ],
860863 ), nil
861864 },
862- ImportStateVerify : true ,
865+ ImportStateVerify : true ,
866+ ImportStateVerifyIgnore : []string {"auth_secret" },
863867 },
864868 },
865869 })
@@ -965,7 +969,8 @@ resource "cloudsmith_repository_upstream" "pypi" {
965969 resourceState .Primary .Attributes [SlugPerm ],
966970 ), nil
967971 },
968- ImportStateVerify : true ,
972+ ImportStateVerify : true ,
973+ ImportStateVerifyIgnore : []string {"auth_secret" },
969974 },
970975 },
971976 })
@@ -1072,7 +1077,8 @@ resource "cloudsmith_repository_upstream" "rpm_fusion" {
10721077 resourceState .Primary .Attributes [SlugPerm ],
10731078 ), nil
10741079 },
1075- ImportStateVerify : true ,
1080+ ImportStateVerify : true ,
1081+ ImportStateVerifyIgnore : []string {"auth_secret" },
10761082 },
10771083 },
10781084 })
@@ -1178,7 +1184,8 @@ resource "cloudsmith_repository_upstream" "rubygems" {
11781184 resourceState .Primary .Attributes [SlugPerm ],
11791185 ), nil
11801186 },
1181- ImportStateVerify : true ,
1187+ ImportStateVerify : true ,
1188+ ImportStateVerifyIgnore : []string {"auth_secret" },
11821189 },
11831190 },
11841191 })
@@ -1284,7 +1291,8 @@ resource "cloudsmith_repository_upstream" "packagist" {
12841291 resourceState .Primary .Attributes [SlugPerm ],
12851292 ), nil
12861293 },
1287- ImportStateVerify : true ,
1294+ ImportStateVerify : true ,
1295+ ImportStateVerifyIgnore : []string {"auth_secret" },
12881296 },
12891297 },
12901298 })
0 commit comments