Google Cloud: Interacting with Terraform Modules and Working with Terraform Registry
Overview As you manage your infrastructure with Terraform, increasingly complex configurations will be created. There is no intrinsic limit to the complexity of a single Terraform configuration file or directory, so it is possible to continue writing and updating your configuration files in a single directory. However, if you do, you may encounter one or […]
Terraform: Building And Testing a Basic Terraform Module
Introduction Terraform modules are a good way to abstract out repeated chunks of code, making it reusable across other Terraform projects and configurations. In this hands-on lab, we’ll be writing a basic Terraform module from scratch and then testing it out. Create the Directory Structure for the Terraform Project Check the Terraform status using the version command: […]
Google Cloud: Creating KMS Key Using Terraform
Overview Cloud Key Management Service allows you to create, import, and manage cryptographic keys and perform cryptographic operations in a single centralized cloud service. You can use these keys and perform these operations by using Cloud KMS directly, by using Cloud HSM or Cloud External Key Manager, or by using Customer-Managed Encryption Keys (CMEK) integrations […]
Google Cloud: Using Terraform to Auto Scale and Load Balance Compute Engine Instances in GCP
Overview Learning how to configure complex environments with Terraform is a must-have skill. In this hands-on lab, we will provision an autoscaling group with a load balancer. Objectives: Successfully complete this lab by achieving the following learning objectives: Create a Service Account From Google Cloud console’s main navigation, choose IAM & Admin > Service Accounts. Click Create service account. […]
Sentinel: Introduction To Sentinel Language – Part-5
Sentinel Language Specification This is the specification for the Sentinel policy language. The Sentinel language is designed with policy enforcement in mind. It is dynamically typed and garbage collected and has explicit support for rule construction representing boolean logic. The language is designed to be easy to learn and use by non-programmers. It is expected to be […]
Sentinel: Introduction To Sentinel Language – Part-4
This Article only discusses about following topics in Sentinel Language: Functions Scope Undefined Logging and Errors Sentinel policies are written using the Sentinel language. This language is easy to learn and easy to write. You can learn the Sentinel language and be productive within an hour. Learning Sentinel doesn’t require any formal programming experience. Language: Functions […]
Sentinel: Introduction to Sentinel Language – Part-3
This Article only discusses about following topics in Sentinel Language: Boolean Expressions Arithmetic Slices Conditionals Loops Collection Operations Sentinel policies are written using the Sentinel language. This language is easy to learn and easy to write. You can learn the Sentinel language and be productive within an hour. Learning Sentinel doesn’t require any formal programming experience. […]
Sentinel: Introduction to Sentinel Language – Part-2
This Article only discusses about following topics in Sentinel Language: Rules Imports Parameters Sentinel policies are written using the Sentinel language. This language is easy to learn and easy to write. You can learn the Sentinel language and be productive within an hour. Learning Sentinel doesn’t require any formal programming experience. Language: Rules Rules form the […]
Sentinel: Introduction to Sentinel Language – Part-1
This Article only discusses about following topics in Sentinel Language: Variables Values Lists Maps Sentinel policies are written using the Sentinel language. This language is easy to learn and easy to write. You can learn the Sentinel language and be productive within an hour. Learning Sentinel doesn’t require any formal programming experience. Simplest Example The […]
Terraform: Introduction to Terraform Cloud
1. What is Terraform Cloud? Terraform Cloud is an application that manages Terraform runs in a consistent and reliable environment instead of on your local machine. It stores shared state and secret data, and connects to version control systems so that you and your team can work on infrastructure as code within your usual code workflow. […]