Skip to content

Instantly share code, notes, and snippets.

GcpDataprocCluster with (GceClusterConfig.networkUri like "/default" OR GceClusterConfig.subnetworkUri like "/default")
{
"AWSTemplateFormatVersion": "2010-09-09",
"Outputs": {
"OrcaRoleArn": {
"Value": {
"Fn::GetAtt": [
"OrcaSecurityRole",
"Arn"
]
}
{
"AWSTemplateFormatVersion": "2010-09-09",
"Outputs": {
"OrcaRoleArn": {
"Value": {
"Fn::GetAtt": [
"OrcaSecurityRole",
"Arn"
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::976280145156:root"
},
"Action": "sts:AssumeRole",
"Condition": {
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::976280145156:root"
},
"Action": "sts:AssumeRole",
{
"AWSTemplateFormatVersion":"2010-09-09",
"Outputs":{
"OrcaRoleArn":{
"Value":{
"Fn::GetAtt":[
"OrcaSecurityRole",
"Arn"
]
}
{
"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"subscriptionsToOnboard": {
"type": "array",
"defaultValue": [
"5a7e9c2f-cc2f-4c79-a44f-79add00ec7d4"
],
"metadata": {
{
"dataRows": [
{
"id": "1",
"l7Protocol": "HTTPS",
"request": {
"startTime": 1649638271180,
"connectionId": "0x6C488E5F161A65DA92706",
"domain": "entitlement.diagnostics.office.com.",
"uri": "/v1/supporteligibility",
Get-WmiObject -Class Win32_Product | Select-String "xxxx"
# install eksctl.
$ brew install eksctl
# Create a cluster.
$ eksctl create cluster --name hisashiyamaguchi --fargate --region us-east-2 -p janrain
Assume Role MFA token code:
# Get clusters.
$ eksctl get cluster --region us-east-2 -p janrain
Assume Role MFA token code: