-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
r/aws_kinesis_firehose_delivery_stream: Delivery to Amazon Elasticsearch Service domain in VPC #13015
Comments
Consistentcy note: The Please consider one of these two options to prevent introducing a third label. Hopefully, in time, we can use only one label for this type of block (in AWS resources). |
I just started working on this. I will link the PR once I am done. |
still have the same error even if update provider provider "aws" {
version = "~> 2.60.0" # "~> 2.32"
alias = "ireland"
region = "eu-west-1"
assume_role {
role_arn = "arn:aws:iam::${var.aws_account}:role/ts-terraformRole"
}
} |
is it possible to use it now while waiting for the merge to be accepted. |
@ddiawara In order to use (test) @rajholla 's contribution before it's merged, I believe you should follow this guide: https://www.terraform.io/docs/extend/writing-custom-providers.html First, fetch the sources from: https://github.com/rajholla/terraform-provider-aws/tree/firehose-es-vpc-support Then build the Terraform provider using the Writing Custom Providers guide: https://www.terraform.io/docs/extend/writing-custom-providers.html#building-the-plugin Note: The essential changes are in: https://github.com/rajholla/terraform-provider-aws/blob/firehose-es-vpc-support/aws/resource_aws_kinesis_firehose_delivery_stream.go After a successful build, don't forget to install the "custom provider": https://www.terraform.io/docs/configuration/providers.html#third-party-plugins Note: Terraform detects the provider version based on its filename: https://www.terraform.io/docs/configuration/providers.html#plugin-names-and-versions And finally, you should configure your Terraform configuration to select your custom provider. |
Thank you @rajholla , I just now successfully deployed a Kinesis Firehose delivery stream with VPC access! |
Yo yeah what do you do because it doesn't work for me mkdir -p $HOME/development/terraform-providers/; cd $HOME/development/terraform-providers/
git clone https://github.com/rajholla/terraform-provider-aws.git
cd terraform-provider-aws && git checkout firehose-es-vpc-support
make tools
make build
cp $GOPATH/bin/terraform-provider-aws ~/.terraform.d/plugins
# in a terraform code terraform init terraform apply i don't know what i forget |
@ddiawara Please try renaming your provider binary with a filename that includes a version. Also, consider configuring Terraform to use aws as the provider name for your custom binary. This is what I did:
Note: Here I used a Docker container to compile the sources, if you like you could instead use a native golang compiler which you installed. Select the custom build aws provider in Terraform:
Finally, run:
|
@ddiawara Your VPC config block is misnamed, it should look something like:
So use vpc_config instead of vpc_configuration. |
I thought I was going crazy, haahhaha thank you for your excellent work. Creating for me |
Hi, |
Is vpc_config in any currently available terraform version so I don't need to compile my own version ? |
Do we know when VPC block will be available for ES configuration? |
Support for this functionality has been merged and will release with version 3.5.0 of the Terraform AWS Provider, later this week. Thanks to @rajholla for the implementation. 👍 |
This has been released in version 3.5.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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! |
Community Note
Description
Amazon Kinesis Data Firehose can now deliver streaming data to an Amazon Elasticsearch Service domain in an Amazon VPC.
New or Affected Resource(s)
aws_kinesis_firehose_delivery_stream
Potential Terraform Configuration
References
Announcement.
Requires AWS SDK v1.30.13:
The text was updated successfully, but these errors were encountered: