huaweicloud / terraform-provider-huaweicloud

Terraform HuaweiCloud provider
https://www.terraform.io/docs/providers/huaweicloud/
Mozilla Public License 2.0
210 stars 158 forks source link

[OBS] Add support to configure event notifications for bucket objects #2763

Closed bolzon closed 1 year ago

bolzon commented 1 year ago

Terraform Version

This is the Terraform version I'm currently using:

Terraform v1.3.9
on linux_amd64

Use cases

So far I couldn't found any option to achieve that via Huawei Cloud provider, but if there's any, I appreciate any help.

Attempted solutions

Proposal

References

ShiChangkuo commented 1 year ago

@bolzon Event notifications have been taken offline. If you have any questions, please submit a service ticket.

BTW, you can use an OBS trigger to send a SMN message.

bolzon commented 1 year ago

@ShiChangkuo thanks for the quick response.

Could you please point me out which Terraform resource I could use to configure an OBS trigger to send a SMN message?

Appreciate any help.

ShiChangkuo commented 1 year ago

First you can use huaweicloud_smn_topic and huaweicloud_smn_subscription to create a SMN, then you can use huaweicloud_fgs_function to send the SMN message. Finally, you can use huaweicloud_fgs_trigger to trigger the OBS event.

you can try it by console

bolzon commented 1 year ago

@ShiChangkuo yea, I'm aware of those.

Any option to configure this OBS > SMN trigger without the need of a Function Graph?

Asking because the region I'm working on doesn't have this service available.

Thanks.

bolzon commented 1 year ago

FGS trigger now is available in the region I'm using, so closing this ticket.