8000 Initial Pulumi Support, Closes #187 by rshade · Pull Request #1752 · infracost/infracost · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Initial Pulumi Support, Closes #187 #1752

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

Open
wants to merge 146 commits into
base: master
Choose a base branch
from

Conversation

rshade
Copy link
@rshade rshade commented Jun 14, 2022

User description

Initial Pulumi Support for the following AWS Resources:
RDS Instances
DynamoDB Instances
EBS Volumes
EBS Snapshots
EBS Snapshot Copy
EIP
EKS Cluster
EKS Node Groups
Instances
Nat Gateway
S3 Buckets

To run the code in this branch, run these steps:

  1. git clone https://github.com/rshade/infracost rshade-infracost
  2. cd rshade-infracost
  3. git checkout feat/pulumi
  4. make build
  5. ./build/infracost breakdown --path examples/pulumi/aws-ts-ebs/preview-multiple-resources.json 🚀

GitHub Action Using Infracost:
https://github.com/rshade/ic-demo/blob/main/.github/workflows/infracost.yml

Closes #187


Generated description

Below is a concise technical summary of the changes proposed in this PR:

Introduce initial support for Pulumi in the Infracost project, enabling cost estimation for various AWS resources. This includes the addition of new resource handlers for RDS Instances, DynamoDB Instances, EBS Volumes, EBS Snapshots, EIP, EKS Cluster, EKS Node Groups, Instances, Nat Gateway, and S3 Buckets. The changes involve creating new resource files, updating existing ones, and integrating Pulumi's JSON preview format for resource detection and cost estimation.

TopicDetails
Documentation Update Update documentation and examples to include Pulumi support, providing guidance on usage and integration.
Modified files (12)
  • CONTRIBUTING.md
  • examples/pulumi/aws-ts-ebs/preview-one-resource.json
  • examples/pulumi/aws-ts-ebs/package.json
  • examples/pulumi/aws-ts-ebs/preview-multiple-resources.json
  • contributing/pulumi.md
  • examples/pulumi/aws-ts-ebs/Pulumi.dev.yaml
  • examples/pulumi/aws-ts-ebs/Pulumi.yaml
  • examples/pulumi/aws-ts-ebs/.gitignore
  • examples/pulumi/aws-ts-ebs/tsconfig.json
  • examples/pulumi/aws-ts-ebs/index.ts
  • examples/pulumi/aws-ts-ebs/pulumi-volume-dependecies.json
  • examples/pulumi/aws-ts-ebs/preview-existing.json
Latest Contributors(2)
EmailCommitDate
ali@infracost.iochore-fix-link-2888February 19, 2024
52185+tim775@users.nor...feat-add-aws-ca-west-1...February 07, 2024
Pulumi AWS Support Implement Pulumi support for AWS resources, enabling cost estimation for RDS, DynamoDB, EBS, EIP, EKS, Instances, Nat Gateway, and S3 Buckets.
Modified files (19)
  • internal/providers/pulumi/aws/dynamodb_table.go
  • internal/providers/pulumi/aws/app_autoscaling_target.go
  • internal/providers/pulumi/aws/instance.go
  • internal/providers/pulumi/aws/nat_gateway.go
  • internal/providers/pulumi/aws/registry.go
  • internal/providers/pulumi/aws/util.go
  • internal/providers/pulumi/aws/autoscaling_group.go
  • internal/providers/pulumi/aws/rds_cluster_instance.go
  • internal/providers/pulumi/aws/rds_cluster.go
  • internal/providers/pulumi/aws/acm_certificate.go
  • internal/providers/pulumi/aws/eip.go
  • internal/providers/pulumi/aws/db_instance.go
  • internal/providers/pulumi/aws/eks_node_group.go
  • internal/providers/pulumi/aws/ebs_snapshot_copy.go
  • internal/providers/pulumi/aws/ebs_snapshot.go
  • internal/providers/pulumi/aws/ebs_volume.go
  • internal/providers/pulumi/aws/eks_cluster.go
  • internal/providers/pulumi/aws/aws.go
  • internal/providers/pulumi/aws/s3_bucket.go
Latest Contributors(0)
EmailCommitDate
Pulumi Parser Add Pulumi parser and provider to handle JSON preview files, enabling resource detection and cost estimation.
Modified files (4)
  • internal/providers/pulumi/parser.go
  • internal/providers/pulumi/registry.go
  • internal/providers/pulumi/preview_json_provider.go
  • internal/providers/pulumi/types/types.go
Latest Contributors(0)
EmailCommitDate
Tooling Add tools and scripts for Pulumi integration, facilitating development and testing of Pulumi support.
Modified files (4)
  • tools/pulumi/_CONVENTIONS.xml
  • tools/pulumi/converter.py
  • tools/pulumi/devbox.json
  • tools/pulumi/pyproject.toml
Latest Contributors(0)
EmailCommitDate
Dependency Update Update Go module dependencies to support Pulumi integration and ensure compatibility with new features.
Modified files (1)
  • go.mod
Latest Contributors(2)
EmailCommitDate
hugorut@gmail.comchore-bump-terragrunt-...September 23, 2024
ali.scott@gmail.comenhance-improve-Terrag...September 09, 2024
This pull request is reviewed by Baz. Join @rshade and the rest of your team on (Baz).

@Aeolun
Copy link
Aeolun commented Jun 24, 2024

This issue is considered 'highly active' by Github, but I'm fairly certain the last commit on it was several years ago. Is this still something that's on the roadmap, or has it been abandoned?

@vdmgolub
Copy link
Contributor

@Aeolun Hello! Thanks for the comment! It's not abandoned, but unfortunately, it's not on the near future roadmap either. Please 👍 to #187 and you'll receive a notification when things change.

@Aeolun
Copy link
Aeolun commented Jun 25, 2024

@vdmgolub Thanks for the response. Already 👍 'ed. I've found this branch to work fine with a few updates, so hope it'll eventually get merged. For now this works for me though.

@rshade
Copy link
Author
rshade commented Jun 25, 2024

@Aeolun I can give you write on my repo if you want, so you can push commits. Sorry I haven't been keeping it up to date.

@cruftyoldsysadmin
Copy link

Any updates? It's been a year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Pulumi
0