AWS user is not authorized to perform: iam: AttachRolePolicy

Go to IAM dashboard. Select Users menu from the left hand side menu. Select the user you want to provide the permission. Select the permissions tab and click on Add Permissions button. Click Create Policy link. On Create Policy page, select the following things: Select IAM service. In Access Level Permissions management, select AttachRolePolicy In Resources, select Specific…More

AWS user is not authorized to perform: iam:CreateRole

Go to IAM dashboard. Select Users menu from the left hand side menu. Select the user you want to provide the permission. Select the permissions tab and click on Add Permissions button. Click Create Policy link. On Create Policy page, select the following things: Select IAM service. In Access Level Write, select CreateRole In Resources, select Specific Resource…More

AWS user is not authorized to perform: iam:ListPolcies

Go to IAM dashboard. Select Users menu from the left hand side menu. Select the user you want to provide the permission. Select the permissions tab and click on Add Permissions button. Click Create Policy link. On Create Policy page, select the following things: Select IAM service. In Access Level List, select ListPolicies Click Next, to review poilcy.…More

AWS user is not authorized to perform: iam:ListRoles

Go to IAM dashboard. Select Users menu from the left hand side menu. Select the user you want to provide the permission. Select the permissions tab and click on Add Permissions button. Click Create Policy link. On Create Policy page, select the following things: Select IAM service. In Access Level List, select ListRoles Click Next, to review poilcy.…More

Add new user as admin to AWS console

The administrator in the AWS console has full access to all AWS services and resources in the account. This means that he or she can create, modify and delete resources; manage permissions for other users; and view details about all the AWS services that are running in the account. Administrators can perform a variety of…More

Create access key and secret key for existing IAM user

Go to IAM dashboard. Select Users menu from the left hand side menu. Select the user you want to create the access key for. Click the Security credentials tab. In Access keys section, click the Create access key button to create a new access key for the user. In the modal click the Show link…More

Scroll to div in Angular

Below is the code to scroll to a specific div with Angular. It contains both the html and the typescript code to do the same. HTML: <button (click)=”ClickMeToScroll()”>Click me to scroll</button> …. …. …. …. …. <div id=”TargetDiv” class=”row g-0″> <div class=”col-12 col-md-4″> <h4>Target Div</h4> </div> <div class=”col-12 col-md-8″></div> </div> CodeBehind (.ts): import { ViewportScroller…More

Using NG Bootstrap modal in Angular project

Steps to make use of NG Bootstrap modal in Angular way: Button to open the modal: <a class=”my-notifications” (click)=”openNotificationModal(notificationModal)”> Open the modal </a> Modal HTML: <ng-template #notificationModal let-modal> …. …. …. <div class=”modal-header”> … </div> <div class=”modal-body”> … </div> </ng-template> CodeBehind (.ts) import { ModalDismissReasons, NgbModal } from ‘@ng-bootstrap/ng-bootstrap’; …. …. constructor( …….. private modalService:…More

How to update WordPress site

Go to admin dashboard /wp-admin/index.php. In the header you will see a refresh icon next to site name. You will be redirected to WordPress Updates page /wp-admin/update-core.php. You will see an Update button. Click the button to update the site. After some interval your site will be updated to the latest WordPress software.More

Sign in with Microsoft account in VSCode

Click Settings icon from VSCode tool bar. Click Sign in to Sync Settings. Click Sign in with Microsoft in the header bar of VSCode. Next screen will prompt you to enter your Microsoft account credentials. Submitting the credentials with present the following message: You are signed in now and can close this page. Close the…More