-
Notifications
You must be signed in to change notification settings - Fork 549
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
resource/alicloud_vpc_ipv4_gateway: Adds new attribute resource_group_id, tags, create_time, ipv4_gateway_id, ipv4_gateway_route_table_id. #6163
Conversation
6bf23e5
to
559e4c1
Compare
alicloud/service_alicloud_vpc_v2.go
Outdated
return object, WrapErrorf(err, DefaultErrorMsg, id, action, AlibabaCloudSdkGoERROR) | ||
} | ||
|
||
v, err := jsonpath.Get("$", response) |
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.
如果直接取根节点,就不需要jsonpath取值,直接返回response即可
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.
done
if v, ok := d.GetOk("ipv4_gateway_name"); ok { | ||
request["Ipv4GatewayName"] = v | ||
} | ||
request["DryRun"] = d.Get("dry_run") |
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.
私有属性变了,不需要更新
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.
done
"resource_group_id": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
Computed: true, |
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.
新增了哪些属性,修改了哪些属性,弃用了哪些属性,都应该在PR 的标题上体现出来
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.
done
87b7bfc
to
5763868
Compare
5763868
to
5804d55
Compare
5804d55
to
e8a0b9c
Compare
…d, Tags etc.