Skip to content

Commit

Permalink
changes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcieslak committed Jan 22, 2024
1 parent 96b8197 commit 54bc2d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/resources/storage_integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var storageIntegrationSchema = map[string]*schema.Schema{
Optional: true,
Description: "Explicitly prohibits external stages that use the integration from referencing one or more storage locations.",
},
// This part of the schema is the cloudProviderParams in the Snowflake documentation and differs between vendors
// TODO (SNOW-1015282): Remove S3gov option before going into V1
"storage_provider": {
Type: schema.TypeString,
Required: true,
Expand Down Expand Up @@ -154,7 +154,7 @@ func CreateStorageIntegration(d *schema.ResourceData, meta any) error {
storageProvider := d.Get("storage_provider").(string)

switch storageProvider {
case "S3", "S3GOV":
case "S3", "S3GOV", "S3gov":
v, ok := d.GetOk("storage_aws_role_arn")
if !ok {
return fmt.Errorf("if you use the S3 storage provider you must specify a storage_aws_role_arn")
Expand Down

0 comments on commit 54bc2d2

Please sign in to comment.