Creation of the custom end point writer for neptune
Actual Behavior
When I create this resource
resource "aws_neptune_cluster_endpoint" "neptune_ep_custom_writer" { cluster_identifier = var.switch_endpoint ? var.cluster_id_gamma : var.cluster_id_beta cluster_endpoint_identifier = "w-${var.resource_prefix}-endpoint-writer" endpoint_type = "WRITER" }
I have an error but if I create READER there is't a error
Relevant Error/Panic Output Snippet
> │ Error: creating Neptune Cluster Endpoint: operation error Neptune: CreateDBClusterEndpoint, https response error StatusCode: 400, RequestID: b187f16d-c6c3-4620-aed7-961ae405cd43, api error InvalidParameterValue: Endpoint type not supported by the cluster
│
│ with aws_neptune_cluster_endpoint.neptune_ep_custom_writer,
│ on endpoint_custom.tf line 7, in resource "aws_neptune_cluster_endpoint" "neptune_ep_custom_writer":
│ 7: resource "aws_neptune_cluster_endpoint" "neptune_ep_custom_writer" {
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.9.5
AWS Provider Version
5.72.1
Affected Resource(s)
aws_neptune_cluster_endpoint
Expected Behavior
Creation of the custom end point writer for neptune
Actual Behavior
When I create this resource
resource "aws_neptune_cluster_endpoint" "neptune_ep_custom_writer" { cluster_identifier = var.switch_endpoint ? var.cluster_id_gamma : var.cluster_id_beta cluster_endpoint_identifier = "w-${var.resource_prefix}-endpoint-writer" endpoint_type = "WRITER" }
I have an error but if I create READER there is't a errorRelevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
simply apply
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None