https://github.com/fkucukkara/pulumiplayground
This repository is a Pulumi playground designed for experimenting with infrastructure-as-code (IaC) on Azure using C#
https://github.com/fkucukkara/pulumiplayground
csharp playground pulumi-azure
Last synced: 12 months ago
JSON representation
This repository is a Pulumi playground designed for experimenting with infrastructure-as-code (IaC) on Azure using C#
- Host: GitHub
- URL: https://github.com/fkucukkara/pulumiplayground
- Owner: fkucukkara
- License: mit
- Created: 2025-06-07T17:51:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-05T15:51:58.000Z (about 1 year ago)
- Last Synced: 2025-07-05T17:04:48.627Z (about 1 year ago)
- Topics: csharp, playground, pulumi-azure
- Language: C#
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pulumi Playground for Azure (C#)
This repository is a **Pulumi playground** designed for experimenting with infrastructure-as-code (IaC) on Azure using C#. It serves as a template and sandbox for business-related projects, enabling rapid prototyping and learning.
## What is Pulumi?
[Pulumi](https://www.pulumi.com/) is an open-source infrastructure-as-code platform that allows you to define, deploy, and manage cloud resources using familiar programming languages such as C#, TypeScript, Python, and Go. Pulumi supports multiple cloud providers, including Azure, AWS, and GCP.
## Project Structure
- **Program.cs**: Main entry point for defining Azure resources using Pulumi and C#.
- **README.md**: Project documentation and usage instructions.
## Features
- Written in C# for .NET developers.
- Deploys Azure resources (e.g., Resource Groups, Storage Accounts).
- Easily extensible for business-specific infrastructure needs.
- Follows Pulumi and Azure best practices.
## Prerequisites
- [.NET SDK](https://dotnet.microsoft.com/download) (9.0)
- [Pulumi CLI](https://www.pulumi.com/docs/get-started/install/)
- [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli) (for authentication)
- An Azure account
## Getting Started
1. **Clone the repository:**
```sh
git clone https://github.com/fkucukkara/pulumiPlayground.git
cd pulumiPlayground
```
2. **Install dependencies:**
```sh
dotnet restore
```
3. **Login to Pulumi:**
```sh
pulumi login
```
4. **Login to Azure:**
```sh
az login
```
5. **Preview the deployment:**
```sh
pulumi preview
```
6. **Deploy to Azure:**
```sh
pulumi up
```
7. **Destroy resources (when finished):**
```sh
pulumi destroy
```
## Customization
- Modify `Program.cs` to add or change Azure resources.
- Use Pulumi packages to extend functionality as needed.
## Useful Links
- [Pulumi Commands](https://www.pulumi.com/docs/iac/cli/commands/)
- [Pulumi Azure Provider Docs](https://www.pulumi.com/registry/packages/azure/)
- [Pulumi C# API Docs](https://www.pulumi.com/docs/reference/pkg/dotnet/)
- [Azure Documentation](https://docs.microsoft.com/en-us/azure/)
## License
[](LICENSE)
This project is licensed under the MIT License, which allows you to freely use, modify, and distribute the code. See the [`LICENSE`](LICENSE) file for full details.