溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

Kickstart Terraform on GCP with Google Cloud Shell

發(fā)布時(shí)間:2020-06-10 11:04:08 來源:網(wǎng)絡(luò) 閱讀:234 作者:HashiCorpChina 欄目:云計(jì)算

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.

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI