First steps with Terraform
I am a french Developer, working for a french startup :) i like video games, computers and drinking Ricoré
Search for a command to run...
I am a french Developer, working for a french startup :) i like video games, computers and drinking Ricoré
No comments yet. Be the first to comment.
AWS Bedrock AgentCore lets you deploy agents as managed containerized runtimes. This guide shows how to automate this deployment using Pulumi and Docker. What You'll Deploy Docker container with your agent code Amazon ECR to store the image Bedroc...

Introduction This guide shows how to deploy AWS Bedrock Agents using Pulumi and TypeScript. Prerequisites AWS Account with Bedrock access Node.js and npm installed Pulumi CLI installed Project Setup Generate Project with Pulumi pulumi new aws-t...

Starting My Homelab Journey with a Raspberry Pi 4B

I recently discovered Docker compose profiles and wanted to share it as it can be useful to someone else. Docker Compose profiles let you control which services run without modifying your docker-compose.yml. They’re useful for separating optional s...

These days, i’m using AWS Bedrock to create Agents.And i faced this error when testing my agents many times so i decided to write down the workaround that i found. An error occurred (dependencyFailedException) when calling the InvokeAgent operation: ...

Terraform is an open source “Infrastructure as Code” tool, created by HashiCorp.
This tool is used to manage infrastructure.
Terraform is quite easy to use.
It can be harder when you declare a complex infrastructure, but it’s really well documented.
In this example, we are going to use Terraform to create a bucket s3 on AWS.
To use Terraform, you need :
resource "<PROVIDER>_<TYPE>" "<NAME>" {
[CONFIG …]
}
First , the provider (for us it’s aws but it can be another provider of course) and the name of the ressource (here a bucket s3).
Then, the name that we are going to use within our code. So our declaration will look like this
provider "aws" {
region = "eu-west-3"
}
resource "aws_s3_bucket" "my-test-bucket" {
bucket = "my-first-bucket"
}
Then we are gonne execute some commands.
$ terraform init
Initializing the backend...
Initializing provider plugins...
- Checking for available provider plugins...
- Downloading plugin for provider "aws"
(...)
* provider.aws: version = "~> 2.10"
Terraform has been successfully initialized!
$ terraform apply
(...)
Terraform will perform the following actions:
# aws_s3_bucket will be created
+ resource "aws_s3_bucket" "my-test-bucket" {
(...)
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value:
Validate with Yes
aws_s3_bucket.my-test-bucket: Creating…
aws_s3_bucket.my-test-bucket: Still creating… [10s elapsed]
aws_s3_bucket.my-test-bucket: Still creating… [20s elapsed]
aws_s3_bucket.my-test-bucket: Still creating… [30s elapsed]
aws_s3_bucket.my-test-bucket: Creation complete after 38s
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Your bucket S3 has been created !
You can go to your aws console to see it !
Wouhou ! Here is our brand new bucket s3 !
Congrats ! You have created your first ressource with Terraform !