تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

infra-as-code

بواسطة gitgoodordietrying

Coding Agents & IDEs
2.5kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Define and manage cloud infrastructure with code.

الوصف

ما الذي تفعله هذه المهارة

Define and manage cloud infrastructure using declarative configuration files or code. Covers Terraform, AWS CloudFormation, and Pulumi for provisioning compute, networking, storage, and databases across environments.

Declarative IaC lets you version, review, and reproduce infrastructure the same way you manage application code, eliminating manual console changes that cause drift.

متى تستخدمها

  • Setting up a VPC with public and private subnets
  • Deploying an RDS database with backup and deletion protection
  • Managing multi-environment infrastructure with dev/staging/prod workspaces
  • Importing existing AWS resources into Terraform state
  • Previewing infrastructure changes before applying them

مثال على سير العمل

الإدخال

User asks: set up an S3-backed static website with CloudFront on AWS using Terraform

الوكيل
  1. 1

    Creates providers.tf with AWS provider pinned to ~> 5.0

  2. 2

    Writes main.tf with aws_s3_bucket, aws_s3_bucket_website_configuration, and public access policy resources

  3. 3

    Adds variables.tf for project name and environment, outputs.tf for the bucket endpoint

  4. 4

    Runs terraform init, then terraform plan to preview the changes

  5. 5

    Applies with terraform apply after user confirms the plan output

الإخراج

S3 bucket configured for static website hosting with public read policy, endpoint exported as Terraform output

المتطلبات

  • AWS account with IAM credentials (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY environment variables or configured AWS CLI profile)
  • Pulumi account and access token if using Pulumi state backend

التثبيت

clawhub install gitgoodordietrying/infra-as-code

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط