Skip to content

Commit

Permalink
r/aws_cloudfront_distribution: 'grpc_config' is Optional+Computed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Jan 6, 2025
1 parent 823ec6d commit 8fc35a9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions internal/service/cloudfront/distribution.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,14 @@ func resourceDistribution() *schema.Resource {
"grpc_config": {
Type: schema.TypeList,
Optional: true,
Computed: true,
MaxItems: 1,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
names.AttrEnabled: {
Type: schema.TypeBool,
Required: true,
Optional: true,
Computed: true,
},
},
},
Expand Down Expand Up @@ -445,12 +447,14 @@ func resourceDistribution() *schema.Resource {
"grpc_config": {
Type: schema.TypeList,
Optional: true,
Computed: true,
MaxItems: 1,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
names.AttrEnabled: {
Type: schema.TypeBool,
Required: true,
Optional: true,
Computed: true,
},
},
},
Expand Down

0 comments on commit 8fc35a9

Please sign in to comment.