Skip to content

Commit

Permalink
addressed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tedkahwaji committed Oct 9, 2024
1 parent c8464f2 commit ff50eb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions datadog/fwprovider/resource_datadog_integration_gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ func (r *integrationGcpResource) addOptionalFieldsToBody(ctx context.Context, bo
if !state.CloudRunRevisionFilters.IsNull() {
diags.Append(state.CloudRunRevisionFilters.ElementsAs(ctx, &runFilters, false)...)
}
body.SetCloudRunRevisionFilters(runFilters)

if !state.ResourceCollectionEnabled.IsUnknown() {
body.SetResourceCollectionEnabled(state.ResourceCollectionEnabled.ValueBool())
Expand Down
1 change: 1 addition & 0 deletions datadog/fwprovider/resource_datadog_integration_gcp_sts.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ func (r *integrationGcpStsResource) buildIntegrationGcpStsRequestBody(ctx contex
if !state.CloudRunRevisionFilters.IsNull() {
diags.Append(state.CloudRunRevisionFilters.ElementsAs(ctx, &runFilters, false)...)
}
attributes.SetCloudRunRevisionFilters(runFilters)

if !state.IsSecurityCommandCenterEnabled.IsUnknown() {
attributes.SetIsSecurityCommandCenterEnabled(state.IsSecurityCommandCenterEnabled.ValueBool())
Expand Down

0 comments on commit ff50eb1

Please sign in to comment.