summaryrefslogtreecommitdiff
path: root/spec/factories/clusters/providers/aws.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/clusters/providers/aws.rb')
-rw-r--r--spec/factories/clusters/providers/aws.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/factories/clusters/providers/aws.rb b/spec/factories/clusters/providers/aws.rb
index f4bc61455c5..e4b10aa5f33 100644
--- a/spec/factories/clusters/providers/aws.rb
+++ b/spec/factories/clusters/providers/aws.rb
@@ -2,8 +2,7 @@
FactoryBot.define do
factory :cluster_provider_aws, class: Clusters::Providers::Aws do
- cluster
- created_by_user factory: :user
+ association :cluster, platform_type: :kubernetes, provider_type: :aws
role_arn { 'arn:aws:iam::123456789012:role/role-name' }
vpc_id { 'vpc-00000000000000000' }