Skip to content

Instantly share code, notes, and snippets.

View rameshmishra777's full-sized avatar
💭
I am > I was

Ramesh Mishra rameshmishra777

💭
I am > I was
  • Pramati Technologies
  • Hyderabad
View GitHub Profile
resource "aws_ecs_task_definition" "my_first_task" {
family = "my-first-task" # Naming our first task
container_definitions = <<DEFINITION
[
{
"name": "my-first-task",
"image": "${aws_ecr_repository.my_first_ecr_repo.repository_url}",
"essential": true,
"portMappings": [
{
@rameshmishra777
rameshmishra777 / k8s-user-data.sh
Created December 18, 2019 12:24 — forked from initcron/k8s-user-data.sh
kubernetes user data script
#!/bin/bash
apt-get update
apt-get install -y git wget
# Install Docker
apt-get install \
apt-transport-https \
ca-certificates \
curl \
#!/bin/bash
# Jenkins Configuraitons Directory
cd $JENKINS_HOME
# Add general configurations, job configurations, and user content
git add -- *.xml jobs/*/*.xml userContent/* ansible/*
# only add user configurations if they exist
if [ -d users ]; then
user_configs=`ls users/*/config.xml`