Une collection organisée de snippets de code pour accélérer votre développement. Parcourez, recherchez et copiez en un clic.
terraform apply -auto-approve
import * as aws from "@pulumi/aws";
const bucket = new aws.s3.Bucket("my-bucket");
export const bucketName = bucket.id;
aws s3 sync ./build s3://mon-bucket
aws cloudfront create-invalidation --distribution-id YOUR_ID --paths "/*"
ansible-playbook -i hosts playbook.yml
terraform plan
- name: Installer Nginx
hosts: webservers
become: yes
tasks:
- name: Installer le paquet nginx
ansible.builtin.apt:
name: nginx
state: latest
resource "aws_s3_bucket" "b" {
bucket = "my-tf-test-bucket"
acl = "private"
tags = {
Name = "My bucket"
Environment = "Dev"
}
}