Table des matières
- 2026:
- 2025:
4 billet(s) pour septembre 2026
| Notes HTTP Strict Transport Security - HSTS | 2026/09/18 11:04 | Jean-Baptiste |
| Notes GNU Linux GPU carte graphiques | 2026/09/08 15:49 | Jean-Baptiste |
| Notes GNU Linux graphique | 2026/09/08 15:42 | Jean-Baptiste |
| Notes urlencoding - passer des mots de passe en HTTPS | 2026/09/03 17:58 | Jean-Baptiste |
Cloud - Terrafom / OpenTofu
Terraform antonomase OpenTofu
Voir :
Voir aussi :
- Terragrunt
Notes
Terraform n'est plus un Logiciel Libre. Le Fork libre s'appelle OpenTofu
Install
snap install --classic opentofu
terraform fmt
terraform validate
terraform plan -out plan01 terraform apply "plan01"
Pb
EBS volumes destroyed & recreated - Keep EBS without create new topology ?
Voir :
Erreur : VPCIdNotSpecified: No default VPC for this user status code: 40
example.tf
provider "aws" {
profile = "default"
region = "eu-west-1"
}
resource "aws_instance" "example" {
ami = "ami-01b282b0f06ba5fd2"
instance_type = "t2.micro"
tags = {
Name = "Test-JBL-tf1"
}
}
terraform apply
Erreur
Error: Error launching source instance: VPCIdNotSpecified: No default VPC for this user
status code: 400, request id: c83af246-9715-4d82-a47d-d08a7941c7f6
Solution
example.tf
provider "aws" {
profile = "default"
region = "eu-west-1"
}
resource "aws_instance" "example" {
ami = "ami-01b282b0f06ba5f32"
instance_type = "t2.micro"
vpc_security_group_ids = ["sg-08bc01c0ececbc84f"]
subnet_id = "subnet-0d63fcd2f893bbb5b"
tags = {
Name = "par-web-01"
}
}
Erreur : No suitable endpoint could be found in the service
terraform apply
│ Error: Error creating OpenStack compute client: No suitable endpoint could be found in the service catalog.
│
│ with openstack_compute_keypair_v2.test_keypair,
│ on 10_test.tf line 2, in resource "openstack_compute_keypair_v2" "test_keypair":
│ 2: resource "openstack_compute_keypair_v2" "test_keypair" {
Lister le catalogue ici
openstack catalog list
Mettre la région appropriée
Autres
SFTP TO S3 - AWS Storage Gateway
Voir :
resource "aws_storagegateway_gateway" "example" {
#gateway_ip_address = "1.2.3.4"
#activation_key = ""
gateway_name = "example"
gateway_timezone = "GMT"
gateway_type = "FILE_S3"
smb_guest_password = "pass"
}
resource "aws_storagegateway_smb_file_share" "example" {
authentication = "GuestAccess"
gateway_arn = "${aws_storagegateway_gateway.example.arn}"
location_arn = "${aws_s3_bucket.example.arn}"
role_arn = "${aws_iam_role.example.arn}"
}
Autres
~/.terraforrc
export TF_LOG=1
terraform plan ${VARS} -out="./${ENV}.tfplan" -input=false terraform apply -input=false ${ENV}.tfplan
Pb isolinux.bin missing or corrupt sur Dell PowerEdge 1950
Pb
Isolinux.bin missing or corrupt
Solution
Allez dans le BIOS.
Changer USB Flash Drive Emulation Type et passer de auto à hard drive
Après pour le boot, la clef USB n'est plus affichée dans le menu. La clef USB est à présent considérée comme un disque dur (/dev/sdb dans mon cas)
Pour booter sur la clef USB :
F11 Boot Menu\ puis Hard Drive C:\ et Front USB
Pb install Java dans Docker zombie charge CPU
Liens :
$ ps -ef |grep java root 2194 753 43 09:46 ? 00:06:33 [java] <defunct> root 3165 753 29 09:49 ? 00:03:30 [java] <defunct> root 3219 753 26 09:51 ? 00:02:44 [java] <defunct> root 4143 753 24 09:53 ? 00:01:59 [java] <defunct>
$ dpkg -l | grep -v ^ii Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-============================-=========================-============-=============================================================================== iF ca-certificates-java 20140324 all Common CA certificates (JKS keystore)
Pb install Debian sur RAID HW
Voir :
Sur Dell
Erreur :
Failed to partition the selected disk. This happened because the selected recipe does not contain any partition that can be created on LVM volumes
Pb Icedove / Thunderbird
You can restore the windows border with these steps:
Close Thunderbird
Edit the file ~/.mozilla-thunderbird/xyz1234.default/localstore.rdf
Search the entry
<RDF:Description RDF:about=“chrome:messenger/content/messenger.xul#messengerWindow” width=“800” height=“600” sizemode=“normal” screenX=“5” screenY=“5” /> ====== Change the width, height and screenXY entries to the ones you see here ====== ====== Restart Thunderbird and it should have its borders again. ======
