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(resources): Add environments #219

Merged
merged 5 commits into from
Nov 29, 2021
Merged

feat(resources): Add environments #219

merged 5 commits into from
Nov 29, 2021

Conversation

raulb
Copy link
Member

@raulb raulb commented Nov 19, 2021

Description of change

Depends on https://github.com/meroxa/meroxa-go/pull/83

Type of change

  • New feature
  • Bug fix
  • Refactor
  • Documentation

How was this tested?

  • Unit Tests
  • Tested in staging

Demo

Before this pull-request

Include how it looked before

After this pull-request

$ meroxa resources create --type url --url https://webhook.site/ f628721b-276b-493e-a926-6db76641ae10 --env my-env --debug
Creating "url" resource in "my-env" environment...
Resource "resource-108995" is successfully created!

$ meroxa resources describe resource-108995                     
               ID:   4258                                                      
             Name:   resource-108995                                           
             Type:   url                                                       
              URL:   https://webhook.site/f628721b-276b-493e-a926-6db76641ae10 
           Tunnel:   N/A                                                       
            State:   Ready                                                     
 Environment UUID:   dfc13528-579d-4c3e-a398-c24478e4e013                      
 Environment Name:   my-env       

$ meroxa resources ls                            
  ID         NAME           TYPE     ENVIRONMENT                                         URL                                         TUNNEL   STATE 
====== ================= ========== ============= ================================================================================= ======== =======
 4258   resource-108995   url        foo           https://webhook.site/254a4a17-60ac-4b3b-9055-65c564b6dccb                          N/A     Ready 
  456   resource-122876   postgres   common        postgres://meroxa-demo.cwyhi7jl0lln.us-east-2.rds.amazonaws.com:5432/dboP24ThrN    N/A     Ready 

Additional references

Depends on https://github.com/meroxa/meroxa-go/pull/83

@raulb raulb self-assigned this Nov 19, 2021
@raulb raulb force-pushed the raul/env-resources branch from 61d3b86 to 21cc8b4 Compare November 19, 2021 19:57
@raulb raulb requested a review from janelletavares November 22, 2021 21:31
@raulb raulb marked this pull request as ready for review November 22, 2021 21:31
@raulb raulb force-pushed the raul/env-resources branch from 73e89c5 to d4b725c Compare November 22, 2021 21:38
@raulb raulb merged commit 5206737 into master Nov 29, 2021
@raulb raulb deleted the raul/env-resources branch November 29, 2021 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants