[Bug]: Provider crashes when "principal" is empty in "aws_ram_principal_association" resource #37320
Labels
bug
Addresses a defect in current functionality.
crash
Results from or addresses a Terraform crash or kernel panic.
service/ram
Issues and PRs that pertain to the ram service.
Milestone
Terraform Core Version
1.6.0
AWS Provider Version
5.46.0, 5.48.0
Affected Resource(s)
aws_ram_principal_association
Expected Behavior
Display info e.g. "Account ID is missing" or "Principal is empty"
Actual Behavior
Terraform provider crashes.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
resource "aws_ram_principal_association" "target_account" {
principal = ""
resource_share_arn = aws_ram_resource_share.eu_central_1.arn
}
Steps to Reproduce
just "terraform apply" on problematic code
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: