Tag: DevOps
-
What is the time format in Bitbucket API?
I was trying to retrieve a report in a Bitbucket instance. The return from the API contains event dates. However, the value looks strange. It is something like 1680143775227. The format looks like Unix Epoch Timestamp. But it was converted to a far future time in any online converters. The .Net action [System.DateTime]::UnixEpoch.AddSeconds() threw an…
-
Move Terraform Providers to Other Folders
Create a new control file with the name .terraformrc or terraform.rc in your profile folder. Add the following lines: Create the folder .terraform.d/plugin-cache in your profile folder. The providers will be downloaded to the cache folder when you run terraform init. If you don’t want to create the control file in the profile folder. Alternative…
-
Setup Terraform and Ansible for Windows provisionon CentOS
Provisioning Windows machines with Terraform is easy. Configuring Windows machines with Ansible is also not complex. However, it’s a little bit challenging to combine them. The following steps are some ideas about handling a Windows machine from provisioning to post configuration without modifying the winrm configuration on the guest operating system.
-
Packer Naming Conflicts with Linux Native Command
HashiCorp Packer is an image management tool for DevOps. You may experience packer naming conflicts if the OS is Red Hat or CentOS.