FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
function-aws-query/example/composition-cloudcontrol-vpcs.yaml at main · upbound/function-aws-query · GitHub
upbound
/
function-aws-query
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
3
Code
Issues
0
Pull requests
8
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
function-aws-query
/
example
/
composition-cloudcontrol-vpcs.yaml
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (32 loc) · 882 Bytes
Breadcrumbs
function-aws-query
/
example
/
composition-cloudcontrol-vpcs.yaml
Copy path
File metadata and controls
32 lines (32 loc) · 882 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
apiVersion
:
apiextensions.crossplane.io/v1
kind
:
Composition
metadata
:
name
:
function-aws-query-cloudcontrol-vpcs
spec
:
compositeTypeRef
:
apiVersion
:
example.io/v1alpha1
kind
:
XAccount
mode
:
Pipeline
pipeline
:
#
Find existing VPCs (full attributes) via AWS Cloud Control ListResources,
#
filtered client-side by tag. No AWS Config or Resource Explorer setup needed.
-
step
:
vpcs-by-tag
functionRef
:
name
:
function-aws-query
input
:
apiVersion
:
aws.fn.crossplane.io/v1beta1
kind
:
Input
queryType
:
ListResources
region
:
eu-central-1
parameters
:
typeName
:
"
AWS::EC2::VPC
"
filters
:
-
name
:
"
tag:Environment
"
values
:
["prod"]
target
:
status.prodVpcs
credentials
:
-
name
:
aws-creds
source
:
Secret
secretRef
:
namespace
:
crossplane-system
name
:
aws-creds
Back
|
FazBrowse Home
|
New Git URL