Kickstart Terraform on GCP with Google Cloud Shell
admin
2023-04-11 06:03:08
0

OCT 24 2018 RILEY KARSON

Riley Karson is a software engineer at Google, where he works as a contributor to the Google Cloud Platform provider for Terraform. Outside of work, Riley loves board gaming and hiking.

HashiCorp Terraform is a powerful open-source infrastructure automation tool for provisioning and managing infrastructure as code. Google has been collaborating with HashiCorp since 2013 to help customers who use Terraform and other HashiCorp tools make optimal use of Google Cloud Platform (GCP) services and features.

As both Terraform and GCP grew in popularity, we continued to integrate our tools more deeply to smooth the developer experience. But while there’s a long and growing list of Terraform GCP provider resources, getting started with Terraform on GCP can take a few steps:

  • Install Terraform
  • Configure a GCP service account
  • Copy a config that (hopefully) worked from the documentation.

Today, we’re excited to show you a new and easy way to avoid this manual process using Google Cloud Shell. With Cloud Shell, you get command-line access to your cloud resources directly from your browser, so you can easily manage projects and resources without having to install any tools on your system. Further, command-line tools such as Terraform and other utilities are automatically authenticated, so you can use them setup-free.

Video

You may notice several examples in the GCP provider documentation now have an “Open in Cloud Shell” button, letting you launch sample Terraform configurations with a single click. Click on the button to launch an interactive Cloud Shell session with the example loaded and Terraform ready to use. This way, you can use real, working Terraform configs in Cloud Shell and iterate on ideas before bringing them into your team’s infrastructure-as-code provisioning workflow.

Kickstart Terraform on GCP with Google Cloud Shell

In short, with this new integration with Cloud Shell, learning to use new GCP resources in Terraform is easier than ever:

  • Instantly get started learning infrastructure as code with Terraform on GCP—no experience required
  • Easily onboard new teammates directly from Terraform’s documentation

To get started with our virtual machine instance example below. Be sure to follow us on Twitter, and to open a GitHub issue if you have any questions.

For more information about Terraform, please visit: https://www.terraform.io

Are you interested in telling others your HashiCorp story or perhaps how HashiCorp products helped with that amazing thing you built? Let us know. Email your story or idea to guestblogs@hashicorp.com.

相关内容

热门资讯

终于懂了“微乐家乡大贰开挂神器... 您好:微乐家乡大贰这款游戏可以开挂,确实是有挂的,需要了解加客服微信【4282891】很多玩家在这款...
最新引进“暗宝透视真的有挂吗?... 最新引进“暗宝透视真的有挂吗?”(必胜开挂神器)您好,暗宝透视这个游戏其实有挂的,确实是有挂的,需要...
视频丨多地解锁“冰雪+”新场景... 隆冬时节,各地不断探索“冰雪+”新场景。吉林长白山“冰雪+婚恋”浪漫启幕 解锁文旅新场景12月26日...
今日重磅消息“美猴王牛牛真的有... 家人们!今天小编来为大家解答美猴王牛牛透视挂怎么安装这个问题咨询软件客服徽4282891的挂在哪里买...
今日重磅消息“赫麒众游怎么开挂... 有 亲,根据资深记者爆料赫麒众游是可以开挂的,确实有挂(咨询软件无需打开...
终于明白“微信小程序麻将辅助器... 您好:微信小程序麻将这款游戏可以开挂,确实是有挂的,需要了解加客服微信【4282891】很多玩家在这...
重磅消息“新道游拼三张究竟有挂... 您好:新道游拼三张这款游戏可以开挂,确实是有挂的,需要了解加客服微信【4282891】很多玩家在这款...
今日重大发现“八闽十三水真的有... 您好:八闽十三水这款游戏可以开挂,确实是有挂的,需要了解加客服微信【4282891】很多玩家在这款游...
【第一财经】“全来湖南麻将是不... 您好:全来湖南麻将这款游戏可以开挂,确实是有挂的,需要了解加客服微信【4282891】很多玩家在这款...
小程序商城平台:企业数字化与私... 当下,移动互联网深度渗透,小程序商城平台成了企业数字化转型以及私域流量构建的核心载体,此平台依托超级...