We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Terraform v1.9.8
huaweicloud v1.70.0
ReferenceTransformer: "huaweicloud_fgs_function.create_by_swr_image" references: [] 2025-01-10T11:49:10.940+0800 [DEBUG] refresh: huaweicloud_fgs_function.create_by_swr_image: no state, so not refreshing 2025-01-10T11:49:10.942+0800 [ERROR] provider.terraform-provider-huaweicloud_v1.70.0: Response contains error diagnostic: diagnostic_detail=""custom_image": conflicts with code_type" diagnostic_severity=ERROR tf_provider_addr=provider tf_req_id=b5173a5f-7334-e9c6-ca60-9bf55c3640e3 tf_resource_type=huaweicloud_fgs_function diagnostic_attribute="AttributeName("custom_image")" diagnostic_summary="Conflicting configuration arguments" tf_rpc=ValidateResourceTypeConfig @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:55 @module=sdk.proto tf_proto_version=5.3 timestamp="2025-01-10T11:49:10.942+0800" 2025-01-10T11:49:10.943+0800 [ERROR] vertex "huaweicloud_fgs_function.create_by_swr_image" error: Conflicting configuration arguments 2025-01-10T11:49:10.943+0800 [ERROR] vertex "huaweicloud_fgs_function.create_by_swr_image (expand)" error: Conflicting configuration arguments 2025-01-10T11:49:10.943+0800 [WARN] Planning encountered errors, so plan is not applyable
according to the docs of functiongraph https://registry.terraform.io/providers/huaweicloud/huaweicloud/latest/docs/resources/fgs_function
at the Create function using SWR
resource "huaweicloud_fgs_function" "by_swr_image" { name = var.function_name agency = var.agency_name handler = "-" app = "default" runtime = "Custom Image" code_type = "Custom-Image-Swr" memory_size = 128 timeout = 3 custom_image { url = var.image_url } }
actually the parameter code_type and the custom_image are conflict
should plan succeed
after I remove the code_type, just keep the custom_image, it works fine
https://registry.terraform.io/providers/huaweicloud/huaweicloud/latest/docs/resources/fgs_function
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
ReferenceTransformer: "huaweicloud_fgs_function.create_by_swr_image" references: []
2025-01-10T11:49:10.940+0800 [DEBUG] refresh: huaweicloud_fgs_function.create_by_swr_image: no state, so not refreshing
2025-01-10T11:49:10.942+0800 [ERROR] provider.terraform-provider-huaweicloud_v1.70.0: Response contains error diagnostic: diagnostic_detail=""custom_image": conflicts with code_type" diagnostic_severity=ERROR tf_provider_addr=provider tf_req_id=b5173a5f-7334-e9c6-ca60-9bf55c3640e3 tf_resource_type=huaweicloud_fgs_function diagnostic_attribute="AttributeName("custom_image")" diagnostic_summary="Conflicting configuration arguments" tf_rpc=ValidateResourceTypeConfig @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:55 @module=sdk.proto tf_proto_version=5.3 timestamp="2025-01-10T11:49:10.942+0800"
2025-01-10T11:49:10.943+0800 [ERROR] vertex "huaweicloud_fgs_function.create_by_swr_image" error: Conflicting configuration arguments
2025-01-10T11:49:10.943+0800 [ERROR] vertex "huaweicloud_fgs_function.create_by_swr_image (expand)" error: Conflicting configuration arguments
2025-01-10T11:49:10.943+0800 [WARN] Planning encountered errors, so plan is not applyable
Expected Behavior
according to the docs of functiongraph
https://registry.terraform.io/providers/huaweicloud/huaweicloud/latest/docs/resources/fgs_function
at the Create function using SWR
actually the parameter code_type and the custom_image are conflict
Actual Behavior
should plan succeed
Steps to Reproduce
Additional Context
after I remove the code_type, just keep the custom_image, it works fine
References
https://registry.terraform.io/providers/huaweicloud/huaweicloud/latest/docs/resources/fgs_function
The text was updated successfully, but these errors were encountered: