-
Notifications
You must be signed in to change notification settings - Fork 565
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
add support to bgp-peer, bgp-network, bgp-group #2715
base: master
Are you sure you want to change the base?
Conversation
09634c5
to
f9c3331
Compare
request.RouterId = d.Get("router_id").(string) | ||
request.ClientToken = buildClientToken(request.GetActionName()) | ||
|
||
if v, ok := d.GetOk("is_fake_asn"); ok { |
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.
bool 类型的值使用 d.GetOkExists 获取
return resp, nil | ||
} | ||
} | ||
return v, WrapErrorf(Error(GetNotFoundMessage("BgpNetwork", id)), NotFoundMsg, ProviderERROR) |
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.
return v, WrapErrorf(Error(GetNotFoundMessage("BgpNetwork", id)), NotFoundMsg, ProviderERROR, response.RequestId)
如果资源查找不到将 requestId 输出,在 read 方法中打印到 log 中
|
||
-> **NOTE:** Terraform will auto build bgp group instance while it uses `alicloud_bgp_group` to build a bgp group resource. | ||
|
||
-> **NOTE:** Available in v1.91.0. |
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.
v1.94.0.
|
No description provided.