<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Terraform on Wenhan blog</title>
    <link>https://wenhan.blog/en/tags/terraform/</link>
    <description>Recent content in Terraform on Wenhan blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Tue, 08 Oct 2024 23:49:19 +0900</lastBuildDate><atom:link href="https://wenhan.blog/en/tags/terraform/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Configuring Kong Gateway with Terraform</title>
      <link>https://wenhan.blog/en/posts/20241008_terraform_deploy/</link>
      <pubDate>Tue, 08 Oct 2024 23:49:19 +0900</pubDate>
      
      <guid>https://wenhan.blog/en/posts/20241008_terraform_deploy/</guid>
      <description>There is an article on Building a Konnect Environment with Terraform, which describes how to set up a Konnect environment using Terraform. In this article, I will leave a memo on how to configure Kong Gateway for an on-premises environment, not Konnect.
The Terraform provider used this time is as follows:
https://github.com/Kong/terraform-provider-kong-gateway
https://registry.terraform.io/providers/Kong/kong-gateway/latest/docs
Installation of Kong and Terraform is omitted.
Minimum Required Files Specify the provider and the address of Kong Gateway&amp;rsquo;s Admin API 1 2 3 4 5 6 7 8 9 10 11 terraform { required_providers { kong-gateway = { source = &amp;#34;kong/kong-gateway&amp;#34; } } } provider &amp;#34;kong-gateway&amp;#34; { server_url = &amp;#34;http://localhost:8001&amp;#34; } Service definition 1 2 3 4 5 6 7 resource &amp;#34;kong-gateway_service&amp;#34; &amp;#34;httpbin&amp;#34; { name = &amp;#34;HTTPBin&amp;#34; protocol = &amp;#34;http&amp;#34; host = &amp;#34;httpbin.</description>
    </item>
    
  </channel>
</rss>
