Find Jobs
Hire Freelancers

Ansible iam_managed_policy - Manage User Managed IAM policies

$30-250 USD

Completed
Posted over 5 years ago

$30-250 USD

Paid on delivery
I am trying to create an AWS IAM policy via Ansible playbook. Ref: [login to view URL] I can successfully create the policy using: - name: Create IAM Managed Policy iam_managed_policy: policy_name: "ManagedPolicy" policy_description: "A Helpful managed policy" policy: "{{ lookup('template', '[login to view URL]') }}" state: present I can delete the policy with: # Remove a policy - name: Create IAM Managed Policy iam_managed_policy: policy_name: "ManagedPolicy" state: absent But I want to create the policy without having to use policy: "{{ lookup('template', '[login to view URL]') }}". Instead, I want to use something like the 4th example but I will not work. # Update a policy and make it the only version and the default version - name: Create IAM Managed Policy iam_managed_policy: policy_name: "ManagedPolicy" policy: "{ 'Version': '2012-10-17', 'Statement':[{'Effect': 'Allow','Action': '*','Resource': '*'}]}" only_version: true state: present I want to add my value as one long line like the above. Please let me know if this is possible. Otherwise, other than creating the file in the directory I am running my playbook from, please let me know if there is a better way. I can do this from the console and cli already... I want to use Ansilble.
Project ID: 17994636

About the project

3 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, I have great experience on implementing ansible scripts roles on multiple projects. Also I worked with ansible in connection with AWS.
$113 USD in 2 days
5.0 (1 review)
2.1
2.1
3 freelancers are bidding on average $149 USD for this job
User Avatar
Let me first understand your requirement on call and post that we can go ahead with the configuration
$222 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
AWS-certified professional. I have good hands-on experience with Ansible and automating tasks on AWS using Ansible.
$111 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Jackson, United States
0.0
0
Payment method verified
Member since May 24, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.