Usage:
Example of 'foo_bar' module in foo_bar.tf.
- list item 1
- list item 2
Even inline formatting in here is possible.
and some link
Usage:
Example of 'foo_bar' module in foo_bar.tf.
Even inline formatting in here is possible.
and some link
required_version may need to be updatedterraform refresh may be neededbrew install tfenvFind non arm based apps running on your m1 using system_profiler. This helps find out if an intel based app is running instead of a universal app.
Using this technique, I found out that IT had accidentally installed x86 slack and x86 chrome. I replaced those with the universal ones for better performance.
Sample output of the attached shell script
$ wget https://gist.githubusercontent.com/nitrocode/7ab3e9229a6bce66b73d59fc1970eec8/raw/m1_applications_not_universal.sh
| #!/bin/bash | |
| # Usage: | |
| # ./find-region-of-instance-id.sh i-snip | |
| aws ec2 describe-regions --query 'Regions[].RegionName' --output text | tr '\t' '\n' | tac | while read region; do | |
| output=`aws --region $region ec2 describe-instances --instance-ids $@ --query 'Reservations[].Instances[].InstanceId' --output text 2>/dev/null || true` | |
| if [ "$output" = "$@" ]; then | |
| echo $region | |
| break | |
| fi |
Provider registry.terraform.io/hashicorp/template v2.2.0 does not have a package available for your current platform, darwin_arm64
The templatefile function only works with files. If you're working with files then switch to templatefile.
The hashicorp/template provider's template_file data source works with template strings and files (converted to strings) but was archived/deprecated before creating an arm release forcing people to look into other options if using Apple M1 (based on ARM).