sudo cp PEM-FORMAT.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
Restart docker kill -kill PID
.
colima ssh -psandbox -- sudo sh -c "openssl s_client -showcerts -connect pkg-containers.githubusercontent.com:443 </dev/null 2>/dev/null|openssl x509 -outform PEM > /usr/local/share/ca-certificates/gh.crt && update-ca-certificates && cat /var/run/docker.pid | xargs kill"
A hash value is provided for files used to load code on Lambda, see Code > Code Properties > SHA256 hash.
The hash value of a file can be found as shown below.
openssl dgst -sha256 -binary /file/path | base64
for_each in Terraform does not support nested for_each's, but nested configurations can be flattened using nested for loops in a locals section.
This example is needed with a resource that binds users to groups, with a one to one mapping between the group and the member.
resource "databricks_group_member" "ab" {
group_id = databricks_group.a.id
member_id = databricks_group.b.id
var AWS = require('/app/node_modules/aws-sdk'); | |
var sts = new AWS.STS(); | |
sts.getCallerIdentity({}, function(err, data) { | |
if (err) { | |
console.log("Error", err); | |
} else { | |
console.log(JSON.stringify(data)); | |
} | |
}); |
https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonelasticmapreduce.html | |
elasticmapreduce:AddInstanceFleet | |
elasticmapreduce:AddInstanceGroups | |
elasticmapreduce:AddJobFlowSteps | |
elasticmapreduce:AddTags | |
elasticmapreduce:CancelSteps | |
elasticmapreduce:CreateEditor | |
elasticmapreduce:CreateSecurityConfiguration | |
elasticmapreduce:DeleteEditor |
arn:aws:s3:::$bucket-name | |
s3:ListBucket | |
s3:ListBucketVersions | |
s3:GetBucketTagging | |
arn:aws:s3:::$bucket-name/$key-name | |
s3:ListMultipartUploadParts | |
s3:GetObject | |
s3:GetObjectVersion | |
s3:GetObjectTagging |
sudo yum install java-1.8.0-openjdk-devel
curl --silent --location http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo | sudo tee /etc/yum.repos.d/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum install jenkins
sudo systemctl enable jenkins
sudo systemctl start jenkins