This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: "2010-09-09" | |
Description: Velero Prerequisites | |
Parameters: | |
paramBucketName: | |
Type: String | |
Description: Provide Bucket Name | |
Resources: | |
VeleroBucket: | |
Type: 'AWS::S3::Bucket' | |
Properties: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_providers { | |
cloudflare = { | |
source = "cloudflare/cloudflare" | |
version = "3.9.0" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
name, | |
arn, | |
region, | |
account_id, | |
versioning | |
from | |
alicloud_oss_bucket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pulumi import export | |
import pulumi_alicloud as alicloud | |
vpc = alicloud.vpc.Network( "web_dev_vpc", | |
vpc_name="alicloud_webdev_vpc", | |
description="Webdev VPC created with Pulumi", | |
cidr_block="192.168.0.0/16", | |
tags={ | |
"created-with":"pulumi", | |
"created-by":"ankit", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
eval $(aws ecr get-login --no-include-email --region ap-southeast-1 --registry-ids $1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo amazon-linux-extras install java-openjdk11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host * | |
StrictHostKeyChecking no | |
UserKnownHostsFile=/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as k8s from "@pulumi/kubernetes"; | |
import * as kx from "@pulumi/kubernetesx"; | |
const clusterSvcsNamespace = new k8s.core.v1.Namespace("pulumi",undefined, undefined) | |
export const clusterSvcsNamespaceName = clusterSvcsNamespace.metadata.name; | |
const appLabels = { app: "nginx" }; | |
const deployment = new k8s.apps.v1.Deployment("nginx", { | |
metadata: {namespace: clusterSvcsNamespaceName}, | |
spec: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ec2 describe-network-interfaces --filters Name=vpc-id,Values=vpc-12345 --query "NetworkInterfaces[*].[NetworkInterfaceId,Description,VpcId,PrivateIpAddress]" --output table | |
Ref: https://aws.amazon.com/premiumsupport/knowledge-center/vpc-detach-or-delete-eni/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variable Definition | |
variable "aws_region" {} | |
variable "aws_vpc_cidr_block" {} | |
variable "aws_subnet_cidr_block" {} | |
variable "aws_private_ip_fe" {} | |
variable "aws_Name" {} | |
variable "aws_Application" {} | |
variable "aws_ami" {} | |
variable "aws_instance_type" {} |
NewerOlder