Skip to content

ahadrez/cloud-developer-devfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

Cloud Developer Devfile

This repository contains a Devfile definition for setting up a cloud development environment tailored for Terraform and GCP-based workflows.

Overview

The Devfile configures a containerized workspace using OpenShift Dev Spaces or Eclipse Che, pre-loaded with tools and settings necessary for cloud infrastructure development with Terraform.

Features

  • 🌐 Terraform Environment: Uses a base image from quay.io with Terraform and supporting tools pre-installed.
  • 🧰 Preloaded Projects:
  • 🔐 Custom CA Configuration: Automatically sets up a custom CA certificate for gcloud when behind a proxy.
  • 🧩 VS Code Terraform Extension: Preloaded for syntax highlighting and Terraform support.

Devfile Specification

  • Schema Version: 2.2.2
  • Base Image: quay.io/upstream/cloud-developer-image:ubi9-latest
  • Resources:
    • CPU: 1 (request), 2 (limit)
    • Memory: 1Gi (request), 2Gi (limit)

Environment Variables

  • TF_CLI_CONFIG_FILE: Points to a custom .terraformrc configuration.
  • DEFAULT_EXTENSIONS: Path to pre-installed VS Code extensions.

Post-Start Automation

After the workspace starts, it runs:

gcloud config set core/custom_ca_certs_file /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published