repo stringlengths 5 92 | file_url stringlengths 80 287 | file_path stringlengths 5 197 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:37:27 2026-01-04 17:58:21 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/docs/examples/s3.rb | docs/examples/s3.rb | require "chef/provisioning/aws_driver"
with_driver "aws"
aws_s3_bucket "aws-bucket" do
enable_website_hosting true
website_options index_document: {
suffix: "index.html"
},
error_document: {
key: "not_found.html"
}
end
| ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/docs/examples/eip.rb | docs/examples/eip.rb | require "chef/provisioning/aws_driver"
with_driver "aws::us-west-2" do
machine "SRV_OR_Web_1" do
machine_options bootstrap_options: {
key_name: "Tst_Prov"
}
end
# create a new eip and associate it to the machine
# Note: in order to be able to associate an eip to a
# machine in a vpc, set "asso... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/docs/examples/aws_rds_subnet_group.rb | docs/examples/aws_rds_subnet_group.rb | aws_vpc "coolvpc" do
cidr_block "10.0.0.0/24"
internet_gateway true
end
subnet1 = aws_subnet "subnet" do
vpc "coolvpc"
cidr_block "10.0.0.0/26"
availability_zone "us-east-1a"
end
subnet2 = aws_subnet "subnet_2" do
vpc "coolvpc"
cidr_block "10.0.0.64/26"
availability_zone "us-east-1c"
end
# Note that ... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/docs/examples/aws_ebs_volume.rb | docs/examples/aws_ebs_volume.rb | require "chef/provisioning/aws_driver"
with_driver "aws::us-west-2"
aws_key_pair "ref-key-pair-ebs"
with_machine_options bootstrap_options: { key_name: "ref-key-pair-ebs" }
machine "ref-machine-1"
machine "ref-machine-2"
# create and attach ebs volume with machine
machine "ref-machine-3" do
machine_options boots... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/docs/examples/route_table.rb | docs/examples/route_table.rb | require "chef/provisioning/aws_driver"
with_driver "aws::eu-west-1"
aws_vpc "test-vpc" do
cidr_block "10.0.0.0/24"
internet_gateway true
end
aws_route_table "ref-public1" do
vpc "test-vpc"
routes "0.0.0.0/0" => :internet_gateway
end
aws_key_pair "ref-key-pair"
machine "test" do
machine_options bootstrap_... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/docs/examples/auto_scaling.rb | docs/examples/auto_scaling.rb | require "chef/provisioning/aws_driver"
with_driver "aws::eu-west-1" do
aws_launch_config "my-sweet-launch-config" do
image "ami-f0b11187"
instance_type "t1.micro"
end
aws_auto_scaling_group "my-awesome-auto-scaling-group" do
desired_capacity 3
min_size 1
max_size 5
launch_configuration "... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/docs/examples/auto_scaling_cleanup.rb | docs/examples/auto_scaling_cleanup.rb | require "chef/provisioning/aws_driver"
with_driver "aws::eu-west-1" do
aws_auto_scaling_group "my-awesome-auto-scaling-group" do
action :destroy
end
aws_launch_config "my-sweet-launch-config" do
action :destroy
end
end
| ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/docs/examples/aws_nat_gateway.rb | docs/examples/aws_nat_gateway.rb | ## Recipe to create a nat gateway in public subnet and associate it to private route table in private subnet
require "chef/provisioning/aws_driver"
with_driver "aws::eu-west-1"
aws_vpc "test-vpc" do
cidr_block "10.0.0.0/16"
internet_gateway true
end
aws_route_table "public_route" do
vpc "test-vpc"
routes "0.... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/docs/examples/route53.rb | docs/examples/route53.rb | require "chef/provisioning/aws_driver"
with_driver "aws::us-east-1"
# this will fail. we use the domain name as a data bag key, but Route 53 will add a trailing dot, and
# furthermore Route 53 is content to have two HostedZones named "feegle.com.". in order to prevent unexpected
# results, we prevent domain names fro... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/docs/examples/ref_full.rb | docs/examples/ref_full.rb | require "chef/provisioning/aws_driver"
with_driver "aws::us-west-1"
#
# This recipe sets every single value of every single object
#
# aws_vpc 'ref-vpc' do
# action :purge
# end
aws_dhcp_options "ref-dhcp-options" do
domain_name "example.com"
domain_name_servers %w{8.8.8.8 8.8.4.4}
ntp_servers ... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_elasticsearch_domain.rb | lib/chef/resource/aws_elasticsearch_domain.rb | require "chef/provisioning/aws_driver/aws_resource"
module AWS
class Elasticsearch
class Domain
end
end
end
class Chef::Resource::AwsElasticsearchDomain < Chef::Provisioning::AWSDriver::AWSResource
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::CloudSearchDomain
attribute :... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_vpc.rb | lib/chef/resource/aws_vpc.rb | require "chef/provisioning/aws_driver/aws_resource_with_entry"
#
# Represents an AWS VPC.
#
# This allows you to finely control network access and security for your
# instances, creating a "walled garden" which cannot be accessed by the Internet
# (or get out to it) without explicitly enabling it through subnets, rout... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_launch_configuration.rb | lib/chef/resource/aws_launch_configuration.rb | require "chef/provisioning/aws_driver/aws_resource"
class Chef::Resource::AwsLaunchConfiguration < Chef::Provisioning::AWSDriver::AWSResource
aws_sdk_type ::Aws::AutoScaling::LaunchConfiguration, id: :name
attribute :name, kind_of: String, name_attribute: true
attribute :image, kind_of: [String... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_internet_gateway.rb | lib/chef/resource/aws_internet_gateway.rb | #
# An AWS internet gateway, allowing communication between instances inside a VPC and the internet.
#
# `name` is not guaranteed unique for an AWS account; therefore, Chef will
# store the internet gateway ID associated with this name in your Chef server in the
# data bag `data/aws_internet_gateway/<name>`.
#
# API do... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_key_pair.rb | lib/chef/resource/aws_key_pair.rb | require "chef/provisioning/aws_driver/aws_resource"
class Chef::Resource::AwsKeyPair < Chef::Provisioning::AWSDriver::AWSResource
aws_sdk_type ::Aws::EC2::KeyPair, id: :name
# Private key to use as input (will be generated if it does not exist)
attribute :private_key_path, kind_of: String
# Public key to use ... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_iam_instance_profile.rb | lib/chef/resource/aws_iam_instance_profile.rb | require "chef/provisioning/aws_driver/aws_resource"
#
# An AWS IAM instance profile, a container for an IAM role that you can use to
# pass role information to an EC2 instance when the instance starts..
#
# `name` is unique for an AWS account.
#
# API documentation for the AWS Ruby SDK for IAM instance profiles (and t... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_vpc_peering_connection.rb | lib/chef/resource/aws_vpc_peering_connection.rb | require "chef/provisioning/aws_driver/aws_resource_with_entry"
#
# An AWS peering connection, specifying which VPC to peer.
#
# `name` is not guaranteed unique for an AWS account; therefore, Chef will
# store the vpc peering connection ID associated with this name in your Chef server in the
# data bag `data/aws_vpc_pe... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_network_interface.rb | lib/chef/resource/aws_network_interface.rb | require "chef/provisioning/aws_driver/aws_resource"
require "chef/resource/aws_subnet"
require "chef/resource/aws_eip_address"
class Chef::Resource::AwsNetworkInterface < Chef::Provisioning::AWSDriver::AWSResourceWithEntry
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::EC2::NetworkInterfac... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_subnet.rb | lib/chef/resource/aws_subnet.rb | require "chef/provisioning/aws_driver/aws_resource_with_entry"
#
# An AWS subnet is a sub-section of a VPC, walled gardens within the walled garden;
# they share a space of IP addresses with other subnets in the VPC but can otherwise
# be walled off from each other.
#
# `name` is not guaranteed unique for an AWS accou... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_cache_replication_group.rb | lib/chef/resource/aws_cache_replication_group.rb | require "chef/provisioning/aws_driver/aws_resource"
require "chef/resource/aws_security_group"
# AWS Elasticache Replication Group
# @see See http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/ElastiCache/Client/V20140930.html#create_replication_group-instance_method
class Chef::Resource::AwsCacheReplicationGroup < Chef... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_eip_address.rb | lib/chef/resource/aws_eip_address.rb | require "chef/provisioning/aws_driver/aws_resource_with_entry"
class Chef::Resource::AwsEipAddress < Chef::Provisioning::AWSDriver::AWSResourceWithEntry
aws_sdk_type ::Aws::OpsWorks::Types::ElasticIp, option_names: [:public_ip], id: :public_ip, managed_entry_id_name: "public_ip", backcompat_data_bag_name: "eip_addre... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_load_balancer.rb | lib/chef/resource/aws_load_balancer.rb | require "chef/provisioning/aws_driver/aws_resource"
require "chef/provisioning/aws_driver/aws_taggable"
class Chef::Resource::AwsLoadBalancer < Chef::Provisioning::AWSDriver::AWSResource
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::AutoScaling::LoadBalancer
attribute :name, kind_of: S... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_cache_subnet_group.rb | lib/chef/resource/aws_cache_subnet_group.rb | require "chef/provisioning/aws_driver/aws_resource"
require "chef/resource/aws_subnet"
# AWS Elasticache Subnet Group
# @see http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/ElastiCache/Client/V20140930.html#create_cache_subnet_group-instance_method
class Chef::Resource::AwsCacheSubnetGroup < Chef::Provisioning::AWSDr... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_sqs_queue.rb | lib/chef/resource/aws_sqs_queue.rb | require "chef/provisioning/aws_driver/aws_resource"
class Chef::Resource::AwsSqsQueue < Chef::Provisioning::AWSDriver::AWSResource
aws_sdk_type ::Aws::SQS::Queue
attribute :name, kind_of: String, name_attribute: true
attribute :options, kind_of: Hash
def aws_object
driver.sqs.get_queue_url(queue_name:... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_route53_hosted_zone.rb | lib/chef/resource/aws_route53_hosted_zone.rb | #
# Copyright:: Copyright (c) 2015 Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_network_acl.rb | lib/chef/resource/aws_network_acl.rb | require "chef/provisioning/aws_driver/aws_resource_with_entry"
require "chef/resource/aws_vpc"
require "chef/resource/aws_subnet"
class Chef::Resource::AwsNetworkAcl < Chef::Provisioning::AWSDriver::AWSResourceWithEntry
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::EC2::NetworkAcl
#
... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_route_table.rb | lib/chef/resource/aws_route_table.rb | require "chef/provisioning/aws_driver/aws_resource_with_entry"
#
# An AWS route table, specifying where to route traffic destined for particular
# sets of IPs.
#
# `name` is not guaranteed unique for an AWS account; therefore, Chef will
# store the route table ID associated with this name in your Chef server in the
# ... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_cloudwatch_alarm.rb | lib/chef/resource/aws_cloudwatch_alarm.rb | require "chef/provisioning/aws_driver/aws_resource"
class Chef::Resource::AwsCloudwatchAlarm < Chef::Provisioning::AWSDriver::AWSResource
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::CloudWatch::Alarm, id: :name
# This name must be unique within the user's AWS account
attribute :nam... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_route53_record_set.rb | lib/chef/resource/aws_route53_record_set.rb | #
# Copyright:: Copyright (c) 2015 Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_image.rb | lib/chef/resource/aws_image.rb | require "chef/provisioning/aws_driver/aws_resource_with_entry"
require "chef/provisioning/aws_driver/aws_taggable"
class Chef::Resource::AwsImage < Chef::Provisioning::AWSDriver::AWSResourceWithEntry
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::EC2::Image,
managed_entry_ty... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_rds_subnet_group.rb | lib/chef/resource/aws_rds_subnet_group.rb | require "chef/provisioning/aws_driver/aws_rds_resource"
require "chef/provisioning/aws_driver/aws_taggable"
require "chef/resource/aws_subnet"
class Chef::Resource::AwsRdsSubnetGroup < Chef::Provisioning::AWSDriver::AWSRDSResource
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::RDS
attri... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_security_group.rb | lib/chef/resource/aws_security_group.rb | require "chef/provisioning/aws_driver/aws_resource"
require "chef/resource/aws_vpc"
require "chef/provisioning/aws_driver/exceptions"
class Chef::Resource::AwsSecurityGroup < Chef::Provisioning::AWSDriver::AWSResource
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::EC2::SecurityGroup,
... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_cloudsearch_domain.rb | lib/chef/resource/aws_cloudsearch_domain.rb | require "chef/provisioning/aws_driver/aws_resource"
module AWS
class CloudSearch
class Domain
# The version of the AWS sdk we are using doesn't have a model
# object for CloudSearch Domains. This empty class is here to
# make the reset of chef-provisioning happy.
end
end
end
class Chef::... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_ebs_volume.rb | lib/chef/resource/aws_ebs_volume.rb | require "chef/provisioning/aws_driver/aws_resource_with_entry"
require "chef/resource/aws_instance"
class Chef::Resource::AwsEbsVolume < Chef::Provisioning::AWSDriver::AWSResourceWithEntry
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::EC2::Volume, backcompat_data_bag_name: "ebs_volumes"
... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_s3_bucket.rb | lib/chef/resource/aws_s3_bucket.rb | require "chef/provisioning/aws_driver/aws_resource"
class Chef::Resource::AwsS3Bucket < Chef::Provisioning::AWSDriver::AWSResource
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::S3::Bucket, id: :name
attribute :name, kind_of: String, name_attribute: true
attribute :options, kind_of: H... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_auto_scaling_group.rb | lib/chef/resource/aws_auto_scaling_group.rb | require "chef/provisioning/aws_driver/aws_resource"
class Chef::Resource::AwsAutoScalingGroup < Chef::Provisioning::AWSDriver::AWSResource
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::AutoScaling::AutoScalingGroup
attribute :name, kind_of: String, name_attribut... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_iam_role.rb | lib/chef/resource/aws_iam_role.rb | require "chef/provisioning/aws_driver/aws_resource"
#
# An AWS IAM role, specifying set of policies for acessing other AWS services.
#
# `name` is unique for an AWS account.
#
# API documentation for the AWS Ruby SDK for IAM roles (and the object returned from `aws_object`) can be found here:
#
# - http://docs.aws.ama... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_rds_parameter_group.rb | lib/chef/resource/aws_rds_parameter_group.rb | require "chef/provisioning/aws_driver/aws_rds_resource"
require "chef/provisioning/aws_driver/aws_taggable"
class Chef::Resource::AwsRdsParameterGroup < Chef::Provisioning::AWSDriver::AWSRDSResource
include Chef::Provisioning::AWSDriver::AWSTaggable
# there is no class for a parameter group specifically
aws_sdk... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_server_certificate.rb | lib/chef/resource/aws_server_certificate.rb | require "chef/provisioning/aws_driver/aws_resource"
class Chef::Resource::AwsServerCertificate < Chef::Provisioning::AWSDriver::AWSResource
aws_sdk_type ::Aws::IAM::ServerCertificate
attribute :name, kind_of: String, name_attribute: true
attribute :certificate_body, kind_of: String
attribute :certificate_cha... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_nat_gateway.rb | lib/chef/resource/aws_nat_gateway.rb | #
# An AWS nat gateway, enable instances in a private subnet to connect to
# the Internet or other AWS services, but prevent the Internet from
# initiating a connection with those instances
#
# `name` is not guaranteed unique for an AWS account; therefore, Chef will
# store the nat gateway ID associated with this name ... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_instance.rb | lib/chef/resource/aws_instance.rb | require "chef/provisioning/aws_driver/aws_resource_with_entry"
require "chef/provisioning/aws_driver/aws_taggable"
class Chef::Resource::AwsInstance < Chef::Provisioning::AWSDriver::AWSResourceWithEntry
include Chef::Provisioning::AWSDriver::AWSTaggable
# The require needs to be inside this class otherwise it get... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_dhcp_options.rb | lib/chef/resource/aws_dhcp_options.rb | require "chef/provisioning/aws_driver/aws_resource_with_entry"
#
# DHCP options for use by VPCs.
#
# If you specify nothing, the DHCP options set will use 'AmazonProvidedDNS' for its
# domain name servers and all other values will be empty.
#
# API documentation for the AWS Ruby SDK for DHCP Options (and the object re... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_sns_topic.rb | lib/chef/resource/aws_sns_topic.rb | require "chef/provisioning/aws_driver/aws_resource"
class Chef::Resource::AwsSnsTopic < Chef::Provisioning::AWSDriver::AWSResource
aws_sdk_type ::Aws::SNS::Topic
attribute :name, kind_of: String, name_attribute: true
attribute :arn, kind_of: String, default: lazy { driver.build_arn(service: "sns", resource: na... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_cache_cluster.rb | lib/chef/resource/aws_cache_cluster.rb | require "chef/provisioning/aws_driver/aws_resource"
require "chef/resource/aws_security_group"
# AWS Elasticache Cluster
#
# @see http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/ElastiCache/Client/V20140930.html#create_cache_cluster-instance_method
class Chef::Resource::AwsCacheCluster < Chef::Provisioning::AWSDriver... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/resource/aws_rds_instance.rb | lib/chef/resource/aws_rds_instance.rb | require "chef/provisioning/aws_driver/aws_rds_resource"
require "chef/provisioning/aws_driver/aws_taggable"
class Chef::Resource::AwsRdsInstance < Chef::Provisioning::AWSDriver::AWSRDSResource
include Chef::Provisioning::AWSDriver::AWSTaggable
aws_sdk_type ::Aws::RDS::DBInstance, id: :db_instance_identifier
at... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver.rb | lib/chef/provisioning/aws_driver.rb | require "chef/provisioning"
require "chef/provisioning/aws_driver/driver"
require "chef/resource/aws_auto_scaling_group"
require "chef/resource/aws_cache_cluster"
require "chef/resource/aws_cache_replication_group"
require "chef/resource/aws_cache_subnet_group"
require "chef/resource/aws_cloudsearch_domain"
require "c... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/super_lwrp.rb | lib/chef/provisioning/aws_driver/super_lwrp.rb | require "chef/resource/lwrp_base"
class Chef
module Provisioning
module AWSDriver
class SuperLWRP < Chef::Resource::LWRPBase
#
# Add the :default lazy { ... } and :coerce validation_opts to `attribute`
#
if respond_to?(:properties)
# in Chef 12.5+, properties repla... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/version.rb | lib/chef/provisioning/aws_driver/version.rb | class Chef
module Provisioning
module AWSDriver
VERSION = "3.0.9".freeze
end
end
end
| ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/exceptions.rb | lib/chef/provisioning/aws_driver/exceptions.rb | class Chef
module Provisioning
module AWSDriver
module Exceptions
class MultipleSecurityGroupError < RuntimeError
def initialize(name, groups)
super "Found security groups with ids [#{groups.map(&:id)}] that share name #{name}. " \
"Names are unique within VPCs - ... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/credentials2.rb | lib/chef/provisioning/aws_driver/credentials2.rb | require "aws-sdk"
require "aws-sdk-core/credentials"
require "aws-sdk-core/shared_credentials"
require "aws-sdk-core/instance_profile_credentials"
require "aws-sdk-core/assume_role_credentials"
class Chef
module Provisioning
module AWSDriver
class LoadCredentialsError < RuntimeError; end
# Loads the... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/aws_resource_with_entry.rb | lib/chef/provisioning/aws_driver/aws_resource_with_entry.rb | require "chef/provisioning/aws_driver/aws_resource"
require "chef/provisioning/aws_driver/resources"
# Common AWS resource - contains metadata that all AWS resources will need
class Chef::Provisioning::AWSDriver::AWSResourceWithEntry < Chef::Provisioning::AWSDriver::AWSResource
#
# Dissociate the ID of this object... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/driver.rb | lib/chef/provisioning/aws_driver/driver.rb | require "chef/mixin/shell_out"
require "chef/mixin/deep_merge"
require "chef/provisioning/driver"
require "chef/provisioning/convergence_strategy/install_cached"
require "chef/provisioning/convergence_strategy/install_sh"
require "chef/provisioning/convergence_strategy/install_msi"
require "chef/provisioning/convergenc... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | true |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/resources.rb | lib/chef/provisioning/aws_driver/resources.rb | # Module under which all AWS resources live
class Chef
module Provisioning
module AWSDriver
module Resources
end
end
end
end
| ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/aws_taggable.rb | lib/chef/provisioning/aws_driver/aws_taggable.rb | module Chef::Provisioning::AWSDriver
# This module is meant to be included in a resource that is taggable
# This will add the appropriate attribute that can be converged by the provider
# TODO it would be nice to not have two seperate modules (taggable/tagger)
# and just have the provider decorate the resourc... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/aws_rds_resource.rb | lib/chef/provisioning/aws_driver/aws_rds_resource.rb | require_relative "aws_resource"
module Chef::Provisioning::AWSDriver
class AWSRDSResource < AWSResource
def rds_tagging_type
raise "You must add the RDS resource type lookup from http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN"
end
end
end
| ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/credentials.rb | lib/chef/provisioning/aws_driver/credentials.rb | require "inifile"
require "csv"
require "chef/mixin/deep_merge"
class Chef
module Provisioning
module AWSDriver
# Reads in credential files in Amazon's download format and presents the credentials to you
class Credentials
def initialize
@credentials = {}
load_default
... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/aws_tagger.rb | lib/chef/provisioning/aws_driver/aws_tagger.rb | require "retryable"
module Chef::Provisioning::AWSDriver
# Include this module on a class or instance that is responsible for tagging
# itself. Fill in the hook methods so it knows how to tag itself.
class AWSTagger
extend Forwardable
attr_reader :action_handler
def initialize(tagging_strategy, ac... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/aws_provider.rb | lib/chef/provisioning/aws_driver/aws_provider.rb | require "chef/provider/lwrp_base"
require "chef/provisioning/aws_driver/aws_resource"
require "chef/provisioning/aws_driver/aws_resource_with_entry"
require "chef/provisioning/chef_managed_entry_store"
require "chef/provisioning/chef_provider_action_handler"
# Enough providers will require this that we put it in here
r... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/aws_resource.rb | lib/chef/provisioning/aws_driver/aws_resource.rb | require "aws-sdk"
require "chef/provisioning/aws_driver/super_lwrp"
require "chef/provisioning/chef_managed_entry_store"
# Enough resources will eventually require this that we put 1 require in here
require "chef/provisioning/aws_driver/aws_taggable"
# Common AWS resource - contains metadata that all AWS resources wil... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/tagging_strategy/rds.rb | lib/chef/provisioning/aws_driver/tagging_strategy/rds.rb | require "chef/provisioning/aws_driver/aws_tagger"
####################
# NOTE FROM http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
# "Note that tags are cached for authorization purposes. Because of this, additions
# and updates to tags on Amazon RDS resources may take several minutes before t... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/tagging_strategy/s3.rb | lib/chef/provisioning/aws_driver/tagging_strategy/s3.rb | require "chef/provisioning/aws_driver/aws_tagger"
module Chef::Provisioning::AWSDriver::TaggingStrategy
class S3
attr_reader :s3_client, :bucket_name, :desired_tags
def initialize(s3_client, bucket_name, desired_tags)
@s3_client = s3_client
@bucket_name = bucket_name
@desired_tags = desired... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/tagging_strategy/ec2.rb | lib/chef/provisioning/aws_driver/tagging_strategy/ec2.rb | require "chef/provisioning/aws_driver/aws_tagger"
module Chef::Provisioning::AWSDriver::TaggingStrategy
module EC2ConvergeTags
def aws_tagger
@aws_tagger ||= begin
ec2_strategy = Chef::Provisioning::AWSDriver::TaggingStrategy::EC2.new(
new_resource.driver.ec2_client,
new_resourc... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/tagging_strategy/elb.rb | lib/chef/provisioning/aws_driver/tagging_strategy/elb.rb | require "chef/provisioning/aws_driver/aws_tagger"
module Chef::Provisioning::AWSDriver::TaggingStrategy
class ELB
attr_reader :elb_client, :access_point_name, :desired_tags
def initialize(elb_client, access_point_name, desired_tags)
@elb_client = elb_client
@access_point_name = access_point_name... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/tagging_strategy/auto_scaling.rb | lib/chef/provisioning/aws_driver/tagging_strategy/auto_scaling.rb | require "chef/provisioning/aws_driver/aws_tagger"
module Chef::Provisioning::AWSDriver::TaggingStrategy
module AutoScalingConvergeTags
def aws_tagger
@aws_tagger ||= begin
auto_scaling_strategy = Chef::Provisioning::AWSDriver::TaggingStrategy::AutoScaling.new(
new_resource.driver.auto_sca... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/aws_driver/tagging_strategy/elasticsearch.rb | lib/chef/provisioning/aws_driver/tagging_strategy/elasticsearch.rb | require "chef/provisioning/aws_driver/aws_tagger"
module Chef::Provisioning::AWSDriver::TaggingStrategy
class Elasticsearch
attr_reader :client, :arn, :desired_tags
def initialize(client, arn, desired_tags)
@client = client
@arn = arn
@desired_tags = desired_tags
end
def current_t... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provisioning/driver_init/aws.rb | lib/chef/provisioning/driver_init/aws.rb | require "chef/provisioning/aws_driver"
Chef::Provisioning.register_driver_class("aws", Chef::Provisioning::AWSDriver::Driver)
| ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_elasticsearch_domain.rb | lib/chef/provider/aws_elasticsearch_domain.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/provisioning/aws_driver/tagging_strategy/elasticsearch"
class Chef::Provider::AwsElasticsearchDomain < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_elasticsearch_domain
def create_aws_object
converge_by "create Elasticsearch domain ... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_vpc.rb | lib/chef/provider/aws_vpc.rb | require "chef/provisioning/aws_driver/aws_provider"
require "date"
require "chef/provisioning"
require "retryable"
class Chef::Provider::AwsVpc < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_vpc
class NeverObtainedExistence < R... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_launch_configuration.rb | lib/chef/provider/aws_launch_configuration.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/resource/aws_image"
require "base64"
class Chef::Provider::AwsLaunchConfiguration < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_launch_configuration
protected
def create_aws_object
image_id = Chef::Resource::AwsImage.get_aws_obj... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_internet_gateway.rb | lib/chef/provider/aws_internet_gateway.rb | require "chef/provisioning/aws_driver/aws_provider"
require "retryable"
class Chef::Provider::AwsInternetGateway < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_internet_gateway
def action_detach
internet_gateway = Chef::Res... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_key_pair.rb | lib/chef/provider/aws_key_pair.rb | require "chef/provider/lwrp_base"
require "chef/provisioning/aws_driver/aws_provider"
require "aws-sdk"
class Chef::Provider::AwsKeyPair < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_key_pair
action :create do
create_key(:create)
end
action :destroy do
if current_resource_exists?
c... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_iam_instance_profile.rb | lib/chef/provider/aws_iam_instance_profile.rb | require "chef/provisioning/aws_driver/aws_provider"
class Chef::Provider::AwsInstanceProfile < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_iam_instance_profile
def action_create
iam_instance_profile = super
update_attached_role(iam_instance_profile)
end
protected
def detach_role(iam_... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_vpc_peering_connection.rb | lib/chef/provider/aws_vpc_peering_connection.rb | require "chef/provisioning/aws_driver/aws_provider"
require "retryable"
class Chef::Provider::AwsVpcPeeringConnection < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_vpc_peering_connection
def action_create
vpc_peering_connection = super
accept_connection(vpc_peering_connection, new_resource)
... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_network_interface.rb | lib/chef/provider/aws_network_interface.rb | require "chef/provisioning/aws_driver/aws_provider"
require "cheffish"
require "date"
require "retryable"
class Chef::Provider::AwsNetworkInterface < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_network_interface
class NetworkI... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_subnet.rb | lib/chef/provider/aws_subnet.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/provisioning/aws_driver/aws_resource"
require "date"
require "chef/resource/aws_vpc"
class Chef::Provider::AwsSubnet < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_cache_replication_group.rb | lib/chef/provider/aws_cache_replication_group.rb | require "chef/provisioning/aws_driver/aws_provider"
class Chef::Provider::AwsCacheReplicationGroup < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_cache_replication_group
protected
def create_aws_object
converge_by "create ElastiCache replication group #{new_resource.name} in #{region}" do
... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_eip_address.rb | lib/chef/provider/aws_eip_address.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/resource/aws_instance"
require "chef/provisioning/machine_spec"
require "cheffish"
class Chef::Provider::AwsEipAddress < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_eip_address
def action_create
elastic_ip = super
update_assoc... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_load_balancer.rb | lib/chef/provider/aws_load_balancer.rb | require "chef/provisioning/aws_driver/aws_provider"
class Chef::Provider::AwsLoadBalancer < Chef::Provisioning::AWSDriver::AWSProvider
def aws_tagger
@aws_tagger ||= begin
elb_strategy = Chef::Provisioning::AWSDriver::TaggingStrategy::ELB.new(
new_resource.driver.elb_client,
new_resource.na... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_cache_subnet_group.rb | lib/chef/provider/aws_cache_subnet_group.rb | require "chef/provisioning/aws_driver/aws_provider"
class Chef::Provider::AwsCacheSubnetGroup < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_cache_subnet_group
protected
def create_aws_object
converge_by "create ElastiCache subnet group #{new_resource.name} in #{region}" do
driver.create_... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_sqs_queue.rb | lib/chef/provider/aws_sqs_queue.rb | require "chef/provisioning/aws_driver/aws_provider"
class Chef::Provider::AwsSqsQueue < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_sqs_queue
def create_aws_object
options = AWSResource.lookup_options(new_resource.options || {}, resource: new_resource)
option_sqs = {}
option_sqs[:queue_na... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_network_acl.rb | lib/chef/provider/aws_network_acl.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/resource/aws_vpc"
require "retryable"
class Chef::Provider::AwsNetworkAcl < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_network_acl
def action_create
networ... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_route_table.rb | lib/chef/provider/aws_route_table.rb | require "chef/provisioning/aws_driver/aws_provider"
require "retryable"
class Chef::Provider::AwsRouteTable < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_route_table
def action_create
route_table = super
unless new_re... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_cloudwatch_alarm.rb | lib/chef/provider/aws_cloudwatch_alarm.rb | require "chef/provisioning/aws_driver/aws_provider"
class Chef::Provider::AwsCloudwatchAlarm < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_cloudwatch_alarm
def create_aws_object
converge_by "creating cloudwatch alarm #{new_resource.name} in #{region}" do
new_resource.driver.cloudwatch_clien... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_image.rb | lib/chef/provider/aws_image.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/provisioning/aws_driver/tagging_strategy/ec2"
class Chef::Provider::AwsImage < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_image
def destroy_aws_object(image)
... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_rds_subnet_group.rb | lib/chef/provider/aws_rds_subnet_group.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/provisioning/aws_driver/tagging_strategy/rds"
class Chef::Provider::AwsRdsSubnetGroup < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::RDSConvergeTags
provides :aws_rds_subnet_group
def create_... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_security_group.rb | lib/chef/provider/aws_security_group.rb | require "chef/provisioning/aws_driver/aws_provider"
require "date"
require "ipaddr"
require "set"
class Chef::Provider::AwsSecurityGroup < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_security_group
def action_create
sg = s... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_cloudsearch_domain.rb | lib/chef/provider/aws_cloudsearch_domain.rb | require "chef/provisioning/aws_driver/aws_provider"
class Chef::Provider::AwsCloudsearchDomain < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_cloudsearch_domain
def create_aws_object
domain = nil # define here to ensure it is available outside of the coverge_by scope
converge_by "create CloudS... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_ebs_volume.rb | lib/chef/provider/aws_ebs_volume.rb | require "chef/provisioning/aws_driver/aws_provider"
require "cheffish"
require "date"
require "retryable"
class Chef::Provider::AwsEbsVolume < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_ebs_volume
class VolumeNotFoundError < ... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_s3_bucket.rb | lib/chef/provider/aws_s3_bucket.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/provisioning/aws_driver/tagging_strategy/s3"
require "date"
class Chef::Provider::AwsS3Bucket < Chef::Provisioning::AWSDriver::AWSProvider
def aws_tagger
@aws_tagger ||= begin
s3_strategy = Chef::Provisioning::AWSDriver::TaggingStrategy::S3.... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_auto_scaling_group.rb | lib/chef/provider/aws_auto_scaling_group.rb | require "chef/provisioning/aws_driver/aws_provider"
require "set"
require "chef/provisioning/aws_driver/tagging_strategy/auto_scaling"
class Chef::Provider::AwsAutoScalingGroup < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::AutoScalingConvergeTags
provides :aw... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_iam_role.rb | lib/chef/provider/aws_iam_role.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/json_compat"
class Chef::Provider::AwsIamRole < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_iam_role
def iam_client
new_resource.driver.iam_client
end
def iam_resource
new_resource.driver.iam_resource
end
def action_c... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_rds_parameter_group.rb | lib/chef/provider/aws_rds_parameter_group.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/provisioning/aws_driver/tagging_strategy/rds"
# inspiration taken from providers/aws_rds_subnet_group.rb
# but different enough that I'm not sure there is easy abstraction
class Chef::Provider::AwsRdsParameterGroup < Chef::Provisioning::AWSDriver::AWSPr... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_server_certificate.rb | lib/chef/provider/aws_server_certificate.rb | require "chef/provisioning/aws_driver/aws_provider"
class Chef::Provider::AwsServerCertificate < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_server_certificate
def update_aws_object(_certificate)
Chef::Log.warn("aws_server_certificate does not support modifying an existing certificate")
end
... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_nat_gateway.rb | lib/chef/provider/aws_nat_gateway.rb | # require 'chef/provisioning/aws_driver/aws_provider'
require "retryable"
class Chef::Provider::AwsNatGateway < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_nat_gateway
protected
def create_aws_object
if new_resource.subnet.nil?
raise "Nat Gateway create action for '#{new_resource.name}' ... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_instance.rb | lib/chef/provider/aws_instance.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/provisioning/aws_driver/tagging_strategy/ec2"
class Chef::Provider::AwsInstance < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_instance
def create_aws_object(ins... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_dhcp_options.rb | lib/chef/provider/aws_dhcp_options.rb | require "chef/provisioning/aws_driver/aws_provider"
class Chef::Provider::AwsDhcpOptions < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_dhcp_options
protected
def create_aws_object
options = desired_options
options[:... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_sns_topic.rb | lib/chef/provider/aws_sns_topic.rb | require "chef/provisioning/aws_driver/aws_provider"
require "date"
class Chef::Provider::AwsSnsTopic < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_sns_topic
protected
def create_aws_object
converge_by "create SNS topic #{new_resource.name} in #{region}" do
new_resource.driver.sns.create_... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_cache_cluster.rb | lib/chef/provider/aws_cache_cluster.rb | require "chef/provisioning/aws_driver/aws_provider"
require "retryable"
class Chef::Provider::AwsCacheCluster < Chef::Provisioning::AWSDriver::AWSProvider
provides :aws_cache_cluster
class CacheClusterStatusTimeoutError < ::Timeout::Error
def initialize(new_resource, initial_status, expected_status)
sup... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
chef-boneyard/chef-provisioning-aws | https://github.com/chef-boneyard/chef-provisioning-aws/blob/c8c8d930f01d81c88ff2b791a447d4a452c784ab/lib/chef/provider/aws_rds_instance.rb | lib/chef/provider/aws_rds_instance.rb | require "chef/provisioning/aws_driver/aws_provider"
require "chef/provisioning/aws_driver/tagging_strategy/rds"
class Chef::Provider::AwsRdsInstance < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::RDSConvergeTags
provides :aws_rds_instance
REQUIRED_OPTIONS =... | ruby | Apache-2.0 | c8c8d930f01d81c88ff2b791a447d4a452c784ab | 2026-01-04T17:40:35.446867Z | false |
rahmal/rconfig | https://github.com/rahmal/rconfig/blob/3b829194a54c25f6385152469cb3a2978e1742a1/spec/rconfig_spec.rb | spec/rconfig_spec.rb | require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
describe RConfig do
before :each do
RConfig.load_paths = ['spec/config']
end
context 'reading config' do
it 'should read config for the specified file' do
RConfig.spec.should == CONFIG
end
it 'should read xml files' do
... | ruby | MIT | 3b829194a54c25f6385152469cb3a2978e1742a1 | 2026-01-04T17:40:43.421770Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.