@@ -1172,10 +1172,11 @@ func TestAccCloudflareAccessApplication_WithReusablePolicies(t *testing.T) {
1172
1172
),
1173
1173
},
1174
1174
{
1175
- ResourceName : resourceName ,
1176
- ImportState : true ,
1177
- ImportStateVerify : true ,
1178
- ImportStateIdPrefix : fmt .Sprintf ("accounts/%s/" , accountID ),
1175
+ ResourceName : resourceName ,
1176
+ ImportState : true ,
1177
+ ImportStateVerify : true ,
1178
+ ImportStateVerifyIgnore : []string {"service_auth_401_redirect" , "destinations" , "enable_binding_cookie" , "options_preflight_bypass" , "self_hosted_domains" , "tags" , "auto_redirect_to_identity" },
1179
+ ImportStateIdPrefix : fmt .Sprintf ("accounts/%s/" , accountID ),
1179
1180
ImportStateCheck : func (s []* terraform.InstanceState ) error {
1180
1181
if len (s ) != 1 {
1181
1182
return fmt .Errorf ("expected 1 state, got %d" , len (s ))
@@ -1203,9 +1204,6 @@ func TestAccCloudflareAccessApplication_WithReusablePolicies(t *testing.T) {
1203
1204
return fmt .Errorf ("expected policy include to be nullified" )
1204
1205
}
1205
1206
1206
- if _ , ok := s [0 ].Attributes ["http_only_cookie_attribute" ]; ok {
1207
- return fmt .Errorf ("expected http_only_cookie_attribute to be nullified" )
1208
- }
1209
1207
if _ , ok := s [0 ].Attributes ["skip_interstitial" ]; ok {
1210
1208
return fmt .Errorf ("expected skip_interstitial to be nullified" )
1211
1209
}
@@ -2003,10 +2001,10 @@ func TestAccCloudflareAccessApplication_TagsOrderIgnored(t *testing.T) {
2003
2001
},
2004
2002
},
2005
2003
{
2006
- ResourceName : resourceName ,
2007
- ImportState : true ,
2008
- ImportStateVerify : true ,
2009
- ImportStateIdPrefix : fmt .Sprintf ("accounts/%s/" , accountID ),
2004
+ ResourceName : resourceName ,
2005
+ ImportState : true ,
2006
+ ImportStateVerify : true ,
2007
+ ImportStateIdPrefix : fmt .Sprintf ("accounts/%s/" , accountID ),
2010
2008
ImportStateVerifyIgnore : []string {"service_auth_401_redirect" , "destinations" , "enable_binding_cookie" , "options_preflight_bypass" , "self_hosted_domains" , "tags" , "auto_redirect_to_identity" },
2011
2009
},
2012
2010
{
0 commit comments