Skip to content

Commit

Permalink
Change tier to required
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Pettersen authored and ewbankkit committed Nov 10, 2021
1 parent 85e183b commit 4009cb2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resource_aws_s3_bucket_intelligent_tiering_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ func resourceAwsS3IntelligentTieringConfiguration() *schema.Resource {
},
"tier": {
Type: schema.TypeSet,
Optional: true,
Required: true,
MinItems: 1,
MaxItems: 2,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
Expand Down Expand Up @@ -160,7 +161,7 @@ func resourceAwsS3IntelligentTieringConfigurationRead(d *schema.ResourceData, me
}

if err != nil {
return fmt.Errorf("here error getting S3 Bucket Intelligent Tiering Configuration (%s): %w", d.Id(), err)
return fmt.Errorf("error getting S3 Bucket Intelligent Tiering Configuration (%s): %w", d.Id(), err)
}

if output == nil {
Expand Down

0 comments on commit 4009cb2

Please sign in to comment.