terraform-plugin-sdk
terraform-provider-aws
terraform-plugin-sdk | terraform-provider-aws | |
---|---|---|
7 | 102 | |
417 | 9,467 | |
1.2% | 0.6% | |
8.8 | 10.0 | |
3 days ago | 5 days ago | |
Go | Go | |
Mozilla Public License 2.0 | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
terraform-plugin-sdk
-
Part 4 - Terraform Providers
Reference : Plugin Development url references
-
Converting Full Terraform Programs to Pulumi
> We're coming up on 10000 resources in our main Terraform repository and while there is definitely some friction, it's overall much better than having to hit the cloud API's to gather each of those states which would probably take at least an order of magnitude longer.
I don't think that's necessary true. Most cloud API's actually can return hundreds of records with 1 API calls, e.g. https://docs.aws.amazon.com/elasticloadbalancing/latest/APIR... has a maximum page size of 400.
If I manage the cloud resources via some custom tools and/or with some ansible-fu, I can decide to batch the API calls when it makes sense.
With terraform, it is not possible to do so (https://github.com/hashicorp/terraform-plugin-sdk/issues/66, https://github.com/hashicorp/terraform-provider-aws/issues/2...).
-
Terraform "bug" / Azure "feature"
While it would be nice for Terraform to find duplicate resource blocks prior to the apply, it's impossible for it to do this without knowledge of the underlying provider being used. As an example, in AWS you could have multiple aws_instance resource blocks with identical attributes and it would be a perfectly acceptable situation (you'd probably be better off with an ASG, but I digress). The real issue here is that the Azure API is not returning an error when the duplicate resource group is being created. The parent feature request mentions other situations, some resulting in errors (preferred/acceptable), others resulting in duplicate resources. However, none are as potentially dangerous as a resource group since it can contain any number of other resources.
-
Maintaining the terraform provider for docker
Currently, we are working on an internal refactoring to clean up code from the past years, even before we started the maintainership. Due to the upgrade to terraform-sdk-v2, we have new abilities for logging, debugging, and testing in isolation. Also, tools for the generation of documentation will simplify the process and keep it up-to-date. But first of all, we want to fix the reported bugs and clarify if they are still present after the update. We also plan to add support for running docker behind a jump host and provision docker containers. Our most aspiring goal is to come close to the docker CLI as possible. To achieve this, we plan to review which code we can reuse and integrate. For example, this has already been happened in the past to allow the converging possibility for docker services. We plan to add the generation of the changelog as we enforce already conventional commits from angular. After talking about the path towards milestone 3.0, we wrap it up with the conclusion.
-
Panic Interface Conversion (Int64)
Thank you for pointing that out u/tgulacsi I changed the type to Int and the panic issue was resolved; however, preferably I would like to use what the API definition states which is int64, but if I understood correctly, there is no native way of doing without conversion according to this GitHub Issue, which seems to be more of Terraform limitation than anything.
-
Root resource was present but now absent
This particular situation is interesting because I can't think of any situation where it would be valid for Create to return a real null without also indicating an error, and so in theory the SDK itself could catch that situation and report it to you using SDK terminology instead, perhaps even directing you to make sure you called d.SetId. It could be worth sharing this experience as an issue in the Terraform SDK repository so that the team which works on the SDK can consider whether it's possible for the SDK to give you better feedback in this situation, rather than just returning the invalid result to Terraform Core to check.
-
Polymorphic resources: provider best practices
I did some more work on this and it seems [1] is the way to go, because it indeed prevents an explosion of resources (and as a result lots of duplication in the documentation). Secondly, there are explicit provisions in the terraform plugin SDK to handle sets of fields which are conflicting with others, so mistakes are handled even at terraform init.
terraform-provider-aws
-
Eliminate IPv4 tax on AWS, is it that easy?
API for IaaC: At least for Pulumi, it appears not all IPv6 settings are configurable. For example, I could not retrieve IPv6 automatically in the same way as IPv4 via Elastic IP, or I could not configure ICMPv6 ACL (a similar issue is reported in the Terraform repository).
-
How To Manage an Amazon Bedrock Agent Using Terraform
In this blog post, we will automate the deployment of the basic forex rate assistant in Terraform using the resources that were recently released in v5.47.0 of the Terraform AWS Provider. Let's start by looking at the AWS resources in the AWS Management Console.
-
How To Manage Amazon GuardDuty in AWS Organizations Using Terraform
⚠ There is currently an issue where the additional_configuration block order causes differences when applying the Terraform configuration without making any changes.
-
AWS EKS: From IRSA to Pod Identity With Terraform
For Terraform, instead, a new version of the AWS module supports a dedicated resource.
-
Authorization and Amazon Verified Permissions - A New Way to Manage Permissions Part XII: Terraform
If we check the support for the Terraform AWS Provider here (state for the date of publishing this article), we will see that the service is not yet fully supported. Last week, after more than half a year, support for creating a policy store was added. Additionally, we have the configuration to add template policies. However, the identity source is in the form of a PR draft, and there is no PR yet for the ability to create policies.
- 10 Ways for Kubernetes Declarative Configuration Management
- obsidian terraform code support (hcl)
-
HashiCorp silently amend Terraform Registry TOS
https://github.com/hashicorp/terraform-provider-aws/issues/3...
The size is what you get when you add every single AWS Go client into one binary.
Each service client like 1-2MB. But when you have 200 services....
-
Unveiling the Speed Mystery: Investigating Slow S3 Uploads from AWS EKS Pods
Issue with EC2 Instance Metadata running inside Container
-
A Cloud Development Troubleshooting Treasure Hunt
Well, at least we now have a promising lead. Some diligent googling and browsing through Github issues in the AWS provider project yielded no directly related findings. However, I did come across a few recent bug reports about the recent change AWS made regarding the treatment of public buckets. And interestingly, they described precisely the behavior I was encountering.
What are some alternatives?
grpc-production-go - A gRPC production-ready library
crossplane - The Cloud Native Control Plane
prototool - Your Swiss Army Knife for Protocol Buffers
terraform-provider-lastpass - Terraform Lastpass provider
git-chglog - CHANGELOG generator implemented in Go (Golang).
cognito-custom-email-sender-lambda - AWS Cognito custom email sender Lambda trigger
terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
rover - Interactive Terraform visualization. State and configuration explorer.
pulumi-aws - An Amazon Web Services (AWS) Pulumi resource package, providing multi-language access to AWS
terraform-provider-opsgenie - Terraform OpsGenie provider
pkisauce - Ephemeral One Time/Build-Time gRPC TLS PKI system.
terraform-provider-snowflake - Terraform provider for managing Snowflake accounts