New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/Kaginari/terraform-provider-mongodb

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/Kaginari/terraform-provider-mongodb

  • v0.1.7
  • Source
  • Go
  • Socket score

Version published
Created
Source

Terraform Provider Mongodb

GitHub go.mod Go version GitHub release (latest by date) GitHub GitHub Workflow Status GitHub issues

This repository is a Terraform Mongodb for Terraform.

Requirements

  • Terraform >= 0.13
  • Go >= 1.17

Installation

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the make install command:
git clone https://github.com/Kaginari/terraform-provider-mongodb
cd terraform-provider-mongodb
make install

To test locally

1.1: create mongo image with ssl

cd docker/docker-mongo-ssl
docker build -t mongo-local .

1.2: create ssl for localhost

follow the instruction in this link

https://ritesh-yadav.github.io/tech/getting-valid-ssl-certificate-for-localhost-from-letsencrypt/

nano /etc/hosts
127.0.0.1   kaginar.herokuapp.com   ### add this line 

1.3: start the docker-compose

cd docker
docker-compose up -d

1.4 : create admin user in mongo

$ docker exec -it mongo -c mongo
> use admin
> db.createUser({ user: "root" , pwd: "root", roles: ["userAdminAnyDatabase", "dbAdminAnyDatabase", "readWriteAnyDatabase"]})

2: Build the provider

follow the Installation

3: Use the provider

cd mongodb
make apply

FAQs

Package last updated on 01 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc