I hereby claim:
- I am crizstian on github.
- I am cramirez92 (https://keybase.io/cramirez92) on keybase.
- I have a public key ASAf0ztDX6gzipB6qWkAcQFFTrQzsFvbPSpLQc5R82uTngo
To claim this, I am signing this object:
| harnessApiVersion: '1.0' | |
| type: SSH | |
| commandUnitType: INSTALL | |
| commandUnits: | |
| - artifactVariableName: artifact | |
| commandUnitType: DOWNLOAD_ARTIFACT | |
| deploymentType: SSH | |
| name: Download Artifact | |
| scriptType: POWERSHELL | |
| workingDirectory: ${DownloadDirectory} |
I hereby claim:
To claim this, I am signing this object:
| resource "vault_gcp_secret_roleset" "roleset" { | |
| count = var.enable_gcp_dynamic_secret ? 1 : 0 | |
| backend = vault_gcp_secret_backend.gcp.0.path | |
| roleset = "devops" | |
| secret_type = "access_token" | |
| project = "gcp-vault-admin" | |
| token_scopes = ["https://www.googleapis.com/auth/cloud-platform"] | |
| # to be done to set the appropiate bindings |
I hereby claim:
To claim this, I am signing this object:
| MongoDB shell version v4.0.8 | |
| connecting to: mongodb://127.0.0.1:27017/?authSource=admin&gssapiServiceName=mongodb | |
| Implicit session: session { "id" : UUID("26ef130b-42df-4aa3-bf71-a88c2d6dfb20") } | |
| MongoDB server version: 4.0.8 | |
| { | |
| ... | |
| "members" : [ | |
| { | |
| "_id" : 0, | |
| "name" : "10.0.3.175:27017", |
| // first lets switch to root user, since docker is running as root | |
| ubuntu@ip-10-0-3-17:~$ sudo su | |
| root@ip-10-0-3-17:/home/ubuntu# docker ps | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| 79e91c403bf3 mongo "docker-entrypoint.s…" 7 minutes ago Up 7 minutes 0.0.0.0:27017->27017/tcp 10-0-3-17 |
| module.aero_bastion_network.aws_nat_gateway.nat_gateway: Still creating... (10s elapsed) | |
| module.aero_mongo_cluster.aws_instance.vm.1: Still creating... (10s elapsed) | |
| module.aero_mongo_cluster.aws_instance.vm.2: Still creating... (10s elapsed) | |
| module.aero_mongo_cluster.aws_instance.vm.0: Still creating... (10s elapsed) | |
| module.aero_bastion_instance.aws_instance.vm: Still creating... (10s elapsed) | |
| module.aero_bastion_network.aws_nat_gateway.nat_gateway: Still creating... (20s elapsed) | |
| module.aero_mongo_cluster.aws_instance.vm.1: Still creating... (20s elapsed) | |
| module.aero_mongo_cluster.aws_instance.vm.2: Still creating... (20s elapsed) | |
| module.aero_mongo_cluster.aws_instance.vm.0: Still creating... (20s elapsed) | |
| module.aero_bastion_instance.aws_instance.vm: Still creating... (20s elapsed) |
| data.template_file.user_data_db: Refreshing state... | |
| data.aws_availability_zones.available_zones: Refreshing state... | |
| data.aws_ami.db_image: Refreshing state... | |
| data.aws_ami.proxy_image: Refreshing state... | |
| ------------------------------------------------------------------------ | |
| An execution plan has been generated and is shown below. | |
| Resource actions are indicated with the following symbols: | |
| + create |
| #!/bin/bash | |
| exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 | |
| . /etc/environment | |
| function init_replica_set { | |
| docker exec -i $DB_HOST bash -c 'mongo < /data/admin/replica.js' | |
| sleep 2 | |
| docker exec -i $DB_HOST bash -c 'mongo < /data/admin/admin.js' |
| #!/bin/bash | |
| exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 | |
| . /etc/environment | |
| . /var/mongo/hosts.sh | |
| # @params container volume | |
| function recreateContainer { | |
| serv=$(howManyServers) |