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.

相关内容

热门资讯

实探杭州“被电商拉黑”街道:随... 据扬子晚报报道,5月6日,一名网友在社媒发帖称,自己在某电商平台看中了一款商品,商品界面却显示其地址...
大连女子烧烤店内用铁签喂狗,十... 5月11日,一段网传视频显示,女子让宠物狗坐在辽宁大连一家烧烤店的卡座上,并用铁签将肉串喂给宠物狗,...
沃尔核材获得实用新型专利授权:... 证券之星消息,根据天眼查APP数据显示沃尔核材(002130)新获得一项实用新型专利授权,专利名为“...
科技伦理审查助力人工智能产业高... 转自:证券日报     本报记者 郭冀川     随着AI(人工智能)技术迭代加速,相关伦理审查的重...
捷昌驱动获得实用新型专利授权:... 证券之星消息,根据天眼查APP数据显示捷昌驱动(603583)新获得一项实用新型专利授权,专利名为“...
2026云手机为什么这么火?这... 你是否也有过这样的念头:想试试云手机,但一看价格,月付几十甚至上百元,立马打了退堂鼓?又或者,你曾贪...
OPPO失智,武大失格,舆论失... 无知,无品,无趣。文 | 佘宗明小说《围城》里,方鸿渐在张家跟张小姐相亲,看到书架上有本《怎样去获得...
百名上海交大学子携40项科研成... 中新网上海5月11日电(记者 许婧)未来电池如何破解“放着也会老化”的难题?免疫细胞与癌细胞的“对话...
你的蓝牙耳机正在 “偷听”?这... 在科技飞速发展的当下,无线耳机、智能手表、无线键盘等蓝牙设备凭借“一键连接”带来的便捷优势,已广泛应...
微信状态能看访客了?热搜爆了!... 5月11日晚间,#微信状态 访客记录#话题冲上微博热搜,引发大量网友讨论。 有网友发帖询问:“微信...