Skip to content
New issue

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

Log complete error while creating Kinesis Firehose Delivery Stream #1881

Merged

Conversation

ApsOps
Copy link
Contributor

@ApsOps ApsOps commented Oct 13, 2017

Fixes #1122

Here's how this changes the log when Redshift Destination password length is less than 6.

Before:

Error applying plan:

1 error(s) occurred:

* module.kinesis_firehose_test_stream.aws_kinesis_firehose_delivery_stream.kinesis_firehose_redshift: 1 error(s) occurred:

* aws_kinesis_firehose_delivery_stream.kinesis_firehose_redshift: [WARN] Error creating Kinesis Firehose Delivery Stream: "1 validation error(s) found.", code: "InvalidParameter"

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

After:

Error applying plan:

1 error(s) occurred:

* module.kinesis_firehose_test_stream.aws_kinesis_firehose_delivery_stream.kinesis_firehose_redshift: 1 error(s) occurred:

* aws_kinesis_firehose_delivery_stream.kinesis_firehose_redshift: [WARN] Error creating Kinesis Firehose Delivery Stream: InvalidParameter: 1 validation error(s) found.
- minimum field size of 6, CreateDeliveryStreamInput.RedshiftDestinationConfiguration.Password.


Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.```

Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks like a useful improvement, thanks 👍

@radeksimko radeksimko added the enhancement Requests to existing resources that expand the functionality or scope. label Oct 14, 2017
@radeksimko radeksimko merged commit 4db5c35 into hashicorp:master Oct 14, 2017
@ApsOps ApsOps deleted the clarify-kinesis-delivery-stream-errors branch October 14, 2017 18:29
@ghost
Copy link

ghost commented Apr 10, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Obscure error when aws kinesis firehose delivery stream s3 buffer interval is too low
2 participants