-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate resource ec_deployment_traffic_filter to terraform-provider-framework #8
Migrate resource ec_deployment_traffic_filter to terraform-provider-framework #8
Conversation
4803616
to
5a193b0
Compare
if err := d.Set("include_by_default", res.IncludeByDefault); err != nil { | ||
return err | ||
} | ||
diags.Append(flattenRules(ctx, res.Rules, &state.Rule)...) | ||
|
||
if res.Description != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like Description.Null
if false here. Shall we remove the if
check or set Null
to true
if Description
is empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Fixed.
@pascal-hofmann , I'm sorry if I missed something, but does it make sense to add migration tests as you did in the previous PR? |
64e7b70
to
eef1ebe
Compare
I just added the missing migration test. |
eef1ebe
to
4307d41
Compare
…ramework The behavior of the default_value plan_modifier changes, so it also applies default values when the value has been explicitly specified before. Unit test timeout increased. Switch to v6 provider in tests.
4307d41
to
c197f28
Compare
Migrate resource ec_deployment_traffic_filter to terraform-provider-framework
Migrate resource ec_deployment_traffic_filter to terraform-provider-framework
The behavior of the default_value plan_modifier changes, so it also applies default values when the value has been explicitly specified before.
Unit test timeout increased.
Related Issues
Motivation and Context
How Has This Been Tested?
Types of Changes
Readiness Checklist