Closed yamamoto-febc closed 3 years ago
from https://github.com/sacloud/terraform-provider-sakuracloud/issues/715
builder/mobilegatewayからsetup.RetryableSetupを利用している箇所でプロビジョングリトライ回数を1とし冪等性を考慮しない簡略な実装となっている。
https://github.com/sacloud/libsacloud/blob/700a0c468bf643ff53788aecc6c984b58caa447b/utils/builder/mobilegateway/builder.go#L208
しかし https://github.com/sacloud/terraform-provider-sakuracloud/issues/715 のようなケースがあることを踏まえると、builder/mobilegatewayでのプロビジョニングに冪等性を持たせた上でリトライ可能(回数を1より大きく設定)にした方がよいかもしれない。
同様の問題がbuilder/vpcrouterにもある。
問題になるケースは限定的なため現状維持とする。 必要に応じて再オープンする。
from https://github.com/sacloud/terraform-provider-sakuracloud/issues/715
builder/mobilegatewayからsetup.RetryableSetupを利用している箇所でプロビジョングリトライ回数を1とし冪等性を考慮しない簡略な実装となっている。
https://github.com/sacloud/libsacloud/blob/700a0c468bf643ff53788aecc6c984b58caa447b/utils/builder/mobilegateway/builder.go#L208
しかし https://github.com/sacloud/terraform-provider-sakuracloud/issues/715 のようなケースがあることを踏まえると、builder/mobilegatewayでのプロビジョニングに冪等性を持たせた上でリトライ可能(回数を1より大きく設定)にした方がよいかもしれない。