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

Feat/add opa example #39

Merged
merged 6 commits into from
Dec 17, 2021
Merged

Feat/add opa example #39

merged 6 commits into from
Dec 17, 2021

Conversation

tim775
Copy link
Member

@tim775 tim775 commented Dec 16, 2021

No description provided.

@github-actions
Copy link

💰 Infracost estimate: monthly cost will increase by $55,065 📈

Project Previous New Diff
infracost/infracost/examples/terraform/plan.json $0 $55,065 +$55,065
Infracost output
Project: infracost/infracost/examples/terraform/plan.json

+ aws_instance.web_app
  +$55,065

    + Instance usage (Linux/UNIX, on-demand, m5.4xlarge)
      +$41,570

    + root_block_device
    
        + Storage (general purpose SSD, gp2)
          +$371

    + ebs_block_device[0]
    
        + Storage (provisioned IOPS SSD, io1)
          +$9,268
    
        + Provisioned IOPS
          +$3,856

+ aws_lambda_function.hello_world
  Monthly cost depends on usage

    + Requests
      Monthly cost depends on usage
        +$14.83 per 1M requests

    + Duration
      Monthly cost depends on usage
        +$0.0012357988 per GB-seconds

Monthly cost change for infracost/infracost/examples/terraform/plan.json
Amount:  +$55,065 ($0.00 → $55,065)

──────────────────────────────────
Key: ~ changed, + added, - removed

2 cloud resources were detected:
∙ 2 were estimated, 2 include usage-based costs, see https://infracost.io/usage-file

This comment will be updated when the cost estimate changes.

Is this comment useful? Yes, No

Copy link
Member

@alikhajeh1 alikhajeh1 left a comment

Choose a reason for hiding this comment

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

We should add the example readme and examples/readme.
Should we merge this after open-policy-agent/opa#4141 is done, or merge it now and change the setup-opa step afterwards?

examples/opa/README.md Outdated Show resolved Hide resolved
examples/opa/policy/policy.rego Outdated Show resolved Hide resolved
tim775 and others added 3 commits December 17, 2021 06:43
Co-authored-by: Ali Khajeh-Hosseini <alikhajeh1@googlemail.com>
Co-authored-by: Ali Khajeh-Hosseini <alikhajeh1@googlemail.com>
@tim775 tim775 merged commit ee936ab into master Dec 17, 2021
@tim775 tim775 deleted the feat/add_opa_example branch December 17, 2021 15:49
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.

2 participants