This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Since we don't have a region for GCP, get the token from the metadata service | |
ansible.builtin.uri: | |
url: "http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token" | |
headers: | |
Metadata-Flavor: Google | |
Accept: "application/json" | |
return_content: yes | |
register: gcp_token | |
- name: Fetch the region for the bucket from the GCS API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Copyright (c) 2024 Ansible Project | |
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
# Derived from the aws_rds inventory plugin | |
DOCUMENTATION = r""" | |
name: aws_eks | |
short_description: EKS cluster inventory source |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Cluster | |
metadata: | |
creationTimestamp: 2019-06-27T13:58:33Z | |
name: dev-qa.k8s.domain.com | |
spec: | |
additionalPolicies: | |
node: | | |
[ | |
{ | |
"Effect": "Allow", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 "aliases_parse.c" | |
# 1 "<built-in>" | |
# 1 "<command line>" | |
# 1 "./dfcompat.h" 1 | |